componentone flexgrid for...

934
ComponentOne FlexGrid for Silverlight

Upload: others

Post on 20-Mar-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

  • ComponentOne

    FlexGrid for Silverlight

  • Copyright 1987-2013 GrapeCity, Inc. All rights reserved.

    ComponentOne, a division of GrapeCity

    201 South Highland Avenue, Third Floor

    Pittsburgh, PA 15206 • USA

    Internet: [email protected]

    Web site: http://www.componentone.com

    Sales

    E-mail: [email protected]

    Telephone: 1.800.858.2739 or 1.412.681.4343 (Pittsburgh, PA USA Office)

    Trademarks

    The ComponentOne product name is a trademark and ComponentOne is a registered trademark of GrapeCity, Inc. All other trademarks used herein are the properties of their respective owners.

    Warranty

    ComponentOne warrants that the original CD (or diskettes) are free from defects in material and workmanship, assuming

    normal use, for a period of 90 days from the date of purchase. If a defect occurs during this time, you may return the defective CD (or disk) to ComponentOne, along with a dated proof of purchase, and ComponentOne will replace it at no charge. After

    90 days, you can obtain a replacement for a defective CD (or disk) by sending it and a check for $25 (to cover postage and handling) to ComponentOne.

    Except for the express warranty of the original CD (or disks) set forth here, ComponentOne makes no other warranties, express or implied. Every attempt has been made to ensure that the information contained in this manual is correct as of the time it was

    written. We are not responsible for any errors or omissions. ComponentOne’s liability is limited to the amount you paid for the

    product. ComponentOne is not liable for any special, consequential, or other damages for any reason.

    Copying and Distribution

    While you are welcome to make backup copies of the software for your own use and protection, you are not permitted to make

    copies for the use of anyone else. We put a lot of time and effort into creating this product, and we appreciate your support in

    seeing that it is used by licensed users only.

    This manual was produced using ComponentOne Doc-To-Help™.

    mailto:[email protected]://www.componentone.com/http://www.doctohelp.com/

  • 1

    Table of Contents ComponentOne FlexGrid for Silverlight Overview............................................................................ 25

    Help with ComponentOne Studio for Silverlight .......................................................................... 25

    The C1.Silverlight.FlexGrid.dll Assembly ....................................................................................... 25

    Studio for Silverlight Samples ....................................................................................................... 25

    FlexGrid for Silverlight Samples ................................................................................................ 26

    XAML Quick Reference ................................................................................................................. 29

    Using FlexGrid for Silverlight ............................................................................................................. 30

    Overview ....................................................................................................................................... 31

    Creating the C1FlexGrid ................................................................................................................ 32

    Populating the grid ....................................................................................................................... 32

    Grouping Data (using ICollectionView) ......................................................................................... 34

    Managing Groups with C1FlexGridGroupPanel ............................................................................ 36

    Using the C1FlexGridGroupPanel control ................................................................................. 36

    C1FlexGridGroupPanel Implementation Notes ........................................................................ 39

    Aggregating Data .......................................................................................................................... 40

    Sorting Data .................................................................................................................................. 43

    Filtering Data (using ICollectionView) ........................................................................................... 43

    Filtering Data (using C1FlexGridFilter) .......................................................................................... 45

    Unbound Mode ............................................................................................................................. 49

    Cell Merging .................................................................................................................................. 50

    Multi-cell Row and Column Headers ............................................................................................ 52

    Selection and Selection Modes ..................................................................................................... 53

    Monitoring the Selection .......................................................................................................... 54

    Selecting cells and objects using code ...................................................................................... 55

    Customizing the Selection Display ............................................................................................ 56

    Custom Cells .................................................................................................................................. 57

    Custom Cells in code: CellFactory class .................................................................................... 57

    Custom Cells in XAML: CellTemplate and CellEditingTemplate ................................................ 59

    Editing Features ............................................................................................................................ 59

  • 2

    Auto-complete and mapped columns ...................................................................................... 60

    Data-Mapped columns ............................................................................................................. 61

    Using Custom Editors ................................................................................................................ 62

    Configuring Editors ................................................................................................................... 62

    Frozen Rows and Columns ............................................................................................................ 62

    Printing Support ............................................................................................................................ 63

    Basic Printing ............................................................................................................................. 63

    Advanced Printing ..................................................................................................................... 63

    Localization Sample ...................................................................................................................... 68

    iTunes Sample ............................................................................................................................... 69

    Creating the grid ....................................................................................................................... 70

    Loading the Data ....................................................................................................................... 71

    Grouping ................................................................................................................................... 72

    Searching and Filtering ............................................................................................................. 73

    Custom Cells .............................................................................................................................. 75

    Financial Application Sample ........................................................................................................ 78

    Generating the data .................................................................................................................. 80

    Searching and Filtering ............................................................................................................. 81

    Custom Cells .............................................................................................................................. 82

    Performance ............................................................................................................................. 85

    Differences in C1FlexGrid for Silverlight/WPF .............................................................................. 85

    Object Model comparison ........................................................................................................ 86

    C1FlexGrid.Methods ................................................................................................................. 90

    C1FlexGrid.Events ..................................................................................................................... 91

    We want your feedback! .............................................................................................................. 93

    C1.Silverlight.FlexGrid Namespace ................................................................................................... 93

    Aggregate Enumeration ................................................................................................................ 99

    AllowDragging Enumeration ....................................................................................................... 101

    AllowMerging Enumeration ........................................................................................................ 102

    AllowResizing Enumeration ........................................................................................................ 103

    BoundRow Class .......................................................................................................................... 104

    BoundRow Members .............................................................................................................. 105

  • 3

    BoundRow Constructor ........................................................................................................... 112

    BoundRow Methods ............................................................................................................... 113

    BoundRow Properties ............................................................................................................. 114

    Item Property ...................................................................................................................... 121

    C1FlexComboBox Class ............................................................................................................... 122

    C1FlexComboBox Members .................................................................................................... 123

    C1FlexComboBox Constructor ................................................................................................ 132

    C1FlexComboBox Methods ..................................................................................................... 133

    OnApplyTemplate Method ................................................................................................. 134

    C1FlexComboBox Properties .................................................................................................. 135

    DropDownItems Property ................................................................................................... 141

    IsDropDownEnabled Property ............................................................................................ 142

    IsDroppedDown Property ................................................................................................... 143

    IsEditable Property .............................................................................................................. 143

    ListBox Property .................................................................................................................. 144

    MaxDropDownHeight Property .......................................................................................... 145

    SelectedIndex Property ....................................................................................................... 145

    C1FlexComboBox Events ......................................................................................................... 146

    IsDroppedDownChanged Event .......................................................................................... 147

    C1FlexGrid Class .......................................................................................................................... 148

    C1FlexGrid Members .............................................................................................................. 149

    C1FlexGrid Constructor ........................................................................................................... 186

    C1FlexGrid Fields ..................................................................................................................... 186

    AllowAddNewProperty Field ............................................................................................... 193

    AllowDraggingProperty Field .............................................................................................. 194

    AllowMergingProperty Field ............................................................................................... 195

    AllowResizingProperty Field ............................................................................................... 195

    AllowSortingProperty Field ................................................................................................. 196

    AlternatingRowBackgroundProperty Field ......................................................................... 196

    AreRowGroupHeadersFrozenProperty Field ...................................................................... 197

    AutoCompleteProperty Field .............................................................................................. 198

    AutoGenerateColumnsProperty Field ................................................................................ 198

  • 4

    BottomRightCellBackgroundProperty Field ........................................................................ 199

    ChildItemsPathProperty Field ............................................................................................. 200

    ClipboardCopyModeProperty Field .................................................................................... 200

    ClipboardPasteModeProperty Field.................................................................................... 201

    ColumnHeaderBackgroundProperty Field .......................................................................... 201

    ColumnHeaderForegroundProperty Field .......................................................................... 202

    ColumnHeaderSelectedBackgroundProperty Field ............................................................ 203

    CursorBackgroundProperty Field ........................................................................................ 203

    CursorForegroundProperty Field ........................................................................................ 204

    DeferScrollingProperty Field ............................................................................................... 205

    EditorBackgroundProperty Field ......................................................................................... 205

    EditorForegroundProperty Field ......................................................................................... 206

    FrozenLinesBrushProperty Field ......................................................................................... 206

    GridLinesBrushProperty Field ............................................................................................. 207

    GridLinesVisibilityProperty Field ......................................................................................... 208

    GroupHeaderConverterProperty Field ............................................................................... 208

    GroupRowBackgroundProperty Field ................................................................................. 209

    GroupRowForegroundProperty Field ................................................................................. 209

    GroupRowPositionProperty Field ....................................................................................... 210

    HeaderFontWeightProperty Field ....................................................................................... 211

    HeaderGridLinesBrushProperty Field ................................................................................. 211

    HeadersVisibilityProperty Field ........................................................................................... 212

    HorizontalScrollBarVisibilityProperty Field ......................................................................... 213

    IsReadOnlyProperty Field ................................................................................................... 213

    IsSynchronizedWithCurrentItemProperty Field .................................................................. 214

    ItemsSourceProperty Field ................................................................................................. 215

    KeepCurrentVisibleProperty Field ...................................................................................... 215

    KeyActionEnterProperty Field ............................................................................................. 216

    KeyActionTabProperty Field ............................................................................................... 216

    MaxColumnWidthProperty Field ........................................................................................ 217

    MaxRowHeightProperty Field ............................................................................................. 218

    MinColumnWidthProperty Field ......................................................................................... 218

  • 5

    MinRowHeightProperty Field ............................................................................................. 219

    NewRowBackgroundProperty Field .................................................................................... 219

    NewRowPositionProperty Field .......................................................................................... 220

    RowBackgroundProperty Field ........................................................................................... 221

    RowHeaderBackgroundProperty Field ............................................................................... 221

    RowHeaderForegroundProperty Field ................................................................................ 222

    RowHeaderSelectedBackgroundProperty Field .................................................................. 223

    SelectedIndexProperty Field ............................................................................................... 223

    SelectedItemProperty Field ................................................................................................ 224

    SelectedItemsProperty Field ............................................................................................... 224

    SelectionBackgroundProperty Field.................................................................................... 225

    SelectionForegroundProperty Field .................................................................................... 226

    SelectionModeProperty Field ............................................................................................. 226

    ShowErrorsProperty Field ................................................................................................... 227

    ShowGroupsProperty Field ................................................................................................. 228

    ShowMarqueeProperty Field .............................................................................................. 228

    ShowOutlineBarProperty Field ........................................................................................... 229

    ShowSortProperty Field ...................................................................................................... 229

    TopLeftCellBackgroundProperty Field ................................................................................ 230

    TreeIndentProperty Field .................................................................................................... 231

    VerticalScrollBarVisibilityProperty Field ............................................................................. 231

    C1FlexGrid Methods ............................................................................................................... 232

    AutoSizeColumn Method .................................................................................................... 238

    AutoSizeColumns Method .................................................................................................. 239

    AutoSizeFixedColumn Method ........................................................................................... 243

    AutoSizeFixedColumns Method .......................................................................................... 244

    AutoSizeFixedRow Method ................................................................................................. 248

    AutoSizeFixedRows Method ............................................................................................... 249

    AutoSizeRow Method ......................................................................................................... 252

    AutoSizeRows Method ........................................................................................................ 253

    CollapseGroupsToLevel Method ......................................................................................... 256

    Copy Method ...................................................................................................................... 259

  • 6

    FinishEditing Method .......................................................................................................... 259

    GetAggregate Method ........................................................................................................ 261

    GetCellFactory Method ....................................................................................................... 263

    GetClipString Method ......................................................................................................... 263

    GetGridImage Method ........................................................................................................ 266

    GetPageImages Method ..................................................................................................... 267

    GetSelectedState Method .................................................................................................. 271

    HitTest Method ................................................................................................................... 272

    IncludeInAggregate Method ............................................................................................... 275

    Invalidate Method............................................................................................................... 276

    LoadColumnLayout Method ............................................................................................... 279

    OnApplyTemplate Method ................................................................................................. 280

    Paste Method ...................................................................................................................... 281

    Print Method ....................................................................................................................... 281

    Save Method ....................................................................................................................... 284

    SaveColumnLayout Method................................................................................................ 294

    ScrollIntoView Method ....................................................................................................... 295

    Select Method ..................................................................................................................... 296

    SelectAll Method ................................................................................................................. 302

    SetClipString Method .......................................................................................................... 303

    StartEditing Method ........................................................................................................... 304

    C1FlexGrid Properties ............................................................................................................. 307

    ActiveEditor Property.......................................................................................................... 326

    AllowAddNew Property ...................................................................................................... 327

    AllowDragging Property ...................................................................................................... 328

    AllowMerging Property ....................................................................................................... 328

    AllowResizing Property ....................................................................................................... 329

    AllowSorting Property ......................................................................................................... 330

    AlternatingRowBackground Property ................................................................................. 330

    AreRowGroupHeadersFrozen Property .............................................................................. 331

    AutoComplete Property ...................................................................................................... 332

    AutoGenerateColumns Property ........................................................................................ 332

  • 7

    BottomLeftCells Property ................................................................................................... 333

    BottomRightCellBackground Property ................................................................................ 334

    CellFactory Property ........................................................................................................... 335

    Cells Property ...................................................................................................................... 335

    ChildItemsPath Property ..................................................................................................... 336

    ClipboardCopyMode Property ............................................................................................ 337

    ClipboardPasteMode Property ........................................................................................... 338

    CollectionView Property ..................................................................................................... 339

    ColumnFooterRows Property ............................................................................................. 339

    ColumnFooters Property..................................................................................................... 340

    ColumnHeaderBackground Property .................................................................................. 341

    ColumnHeaderForeground Property .................................................................................. 341

    ColumnHeaders Property ................................................................................................... 342

    ColumnHeaderSelectedBackground Property .................................................................... 343

    ColumnLayout Property ...................................................................................................... 343

    Columns Property ............................................................................................................... 344

    CursorBackground Property ............................................................................................... 345

    CursorForeground Property ................................................................................................ 346

    DeferScrolling Property ....................................................................................................... 346

    EditorBackground Property ................................................................................................ 347

    EditorForeground Property ................................................................................................. 348

    EditorRange Property.......................................................................................................... 349

    ErrorStyle Property ............................................................................................................. 349

    FrozenColumns Property .................................................................................................... 350

    FrozenLinesBrush Property ................................................................................................. 351

    FrozenRows Property .......................................................................................................... 351

    GridLinesBrush Property ..................................................................................................... 352

    GridLinesVisibility Property ................................................................................................. 353

    GroupHeaderConverter Property ....................................................................................... 353

    GroupRowBackground Property ......................................................................................... 356

    GroupRowForeground Property ......................................................................................... 356

    GroupRowPosition Property ............................................................................................... 357

  • 8

    HeaderFontWeight Property .............................................................................................. 359

    HeaderGridLinesBrush Property ......................................................................................... 360

    HeadersVisibility Property .................................................................................................. 360

    HorizontalScrollBarVisibility Property ................................................................................. 361

    IsReadOnly Property ........................................................................................................... 362

    IsSynchronizedWithCurrentItem Property ......................................................................... 362

    Item Property ...................................................................................................................... 363

    ItemsSource Property ......................................................................................................... 368

    ItemType Property .............................................................................................................. 368

    KeepCurrentVisible Property .............................................................................................. 369

    KeyActionEnter Property .................................................................................................... 371

    KeyActionTab Property ....................................................................................................... 371

    Marquee Property .............................................................................................................. 372

    MaxColumnWidth Property ................................................................................................ 373

    MaxRowHeight Property .................................................................................................... 373

    MergeManager Property .................................................................................................... 374

    MinColumnWidth Property ................................................................................................ 375

    MinRowHeight Property ..................................................................................................... 375

    NewRowBackground Property ............................................................................................ 376

    NewRowPosition Property .................................................................................................. 377

    RowBackground Property ................................................................................................... 378

    RowHeaderBackground Property ....................................................................................... 378

    RowHeaderForeground Property ....................................................................................... 379

    RowHeaders Property ......................................................................................................... 379

    RowHeaderSelectedBackground Property ......................................................................... 380

    Rows Property ..................................................................................................................... 381

    ScrollPosition Property ....................................................................................................... 382

    SelectedIndex Property ....................................................................................................... 382

    SelectedItem Property ........................................................................................................ 383

    SelectedItems Property ...................................................................................................... 384

    Selection Property .............................................................................................................. 385

    SelectionBackground Property ........................................................................................... 385

  • 9

    SelectionForeground Property............................................................................................ 386

    SelectionMode Property ..................................................................................................... 387

    ShowErrors Property ........................................................................................................... 387

    ShowGroups Property ......................................................................................................... 391

    ShowMarquee Property ...................................................................................................... 391

    ShowOutlineBar Property ................................................................................................... 393

    ShowSort Property .............................................................................................................. 394

    TopLeftCellBackground Property ........................................................................................ 394

    TopLeftCells Property ......................................................................................................... 395

    TreeIndent Property ........................................................................................................... 396

    VerticalScrollBarVisibility Property ..................................................................................... 396

    ViewRange Property ........................................................................................................... 397

    C1FlexGrid Events ................................................................................................................... 398

    BeginningEdit Event ............................................................................................................ 403

    CellEditEnded Event ............................................................................................................ 404

    CellEditEnding Event ........................................................................................................... 404

    Click Event ........................................................................................................................... 405

    CustomAggregate Event ..................................................................................................... 406

    DoubleClick Event ............................................................................................................... 406

    DraggedColumn Event ........................................................................................................ 407

    DraggedRow Event .............................................................................................................. 407

    DraggingColumn Event ....................................................................................................... 408

    DraggingRow Event ............................................................................................................. 409

    GroupCollapsedChanged Event .......................................................................................... 409

    GroupCollapsedChanging Event ......................................................................................... 410

    ItemsSourceChanged Event ................................................................................................ 410

    ItemsSourceChanging Event ............................................................................................... 411

    LoadedRows Event .............................................................................................................. 412

    LoadingRows Event ............................................................................................................. 412

    PrepareCellForEdit Event .................................................................................................... 413

    PreviewKeyDown Event ...................................................................................................... 413

    PreviewMouseLeftButtonDown Event ............................................................................... 414

  • 10

    ResizedColumn Event .......................................................................................................... 415

    ResizedRow Event ............................................................................................................... 415

    ResizingColumn Event ......................................................................................................... 416

    ResizingRow Event .............................................................................................................. 416

    RowEditEnded Event ........................................................................................................... 417

    RowEditEnding Event .......................................................................................................... 417

    ScrollingDeferred Event ...................................................................................................... 418

    ScrollPositionChanged Event .............................................................................................. 419

    ScrollPositionChanging Event ............................................................................................. 420

    SelectedItemChanged Event ............................................................................................... 420

    SelectionChanged Event ..................................................................................................... 421

    SelectionChanging Event..................................................................................................... 421

    SortedColumn Event ........................................................................................................... 422

    SortingColumn Event .......................................................................................................... 423

    C1FlexGridFilter Class ................................................................................................................. 423

    C1FlexGridFilter Members ...................................................................................................... 424

    C1FlexGridFilter Constructor .................................................................................................. 426

    C1FlexGridFilter Constructor .............................................................................................. 427

    C1FlexGridFilter Constructor (C1FlexGrid) .......................................................................... 427

    C1FlexGridFilter Methods ....................................................................................................... 428

    Apply Method ..................................................................................................................... 429

    Clear Method ...................................................................................................................... 430

    GetColumnFilter Method .................................................................................................... 430

    LoadFilterDefinition Method .............................................................................................. 431

    SaveFilterDefinition Method ............................................................................................... 432

    ShowFilterEditor Method ................................................................................................... 433

    C1FlexGridFilter Properties ..................................................................................................... 434

    Editor Property .................................................................................................................... 435

    FilterDefinition Property ..................................................................................................... 436

    NullValueString Property .................................................................................................... 437

    Owner Property .................................................................................................................. 438

    UseCollectionView Property ............................................................................................... 438

  • 11

    C1FlexGridFilter Events ........................................................................................................... 439

    EditorClosed Event .............................................................................................................. 440

    EditorOpened Event ............................................................................................................ 440

    FilterApplied Event .............................................................................................................. 441

    C1FlexGridFilterService Class ...................................................................................................... 442

    C1FlexGridFilterService Members .......................................................................................... 443

    C1FlexGridFilterService Fields ................................................................................................. 444

    FlexGridFilterProperty Field ................................................................................................ 444

    C1FlexGridFilterService Methods ........................................................................................... 445

    GetFlexGridFilter Method ................................................................................................... 445

    SetFlexGridFilter Method .................................................................................................... 446

    C1FlexGridFilterService Attached Properties .......................................................................... 447

    FlexGridFilter Attached Property ........................................................................................ 448

    C1FlexGridGroupPanel Class ....................................................................................................... 448

    C1FlexGridGroupPanel Members ........................................................................................... 450

    C1FlexGridGroupPanel Constructor ........................................................................................ 456

    C1FlexGridGroupPanel Fields.................................................................................................. 457

    DragMarkerColorProperty Field ......................................................................................... 458

    FlexGridProperty Field ........................................................................................................ 458

    HideGroupedColumnsProperty Field .................................................................................. 459

    MaxGroupsProperty Field ................................................................................................... 459

    C1FlexGridGroupPanel Methods ............................................................................................ 460

    C1FlexGridGroupPanel Properties .......................................................................................... 462

    DragMarkerColor Property ................................................................................................. 465

    FlexGrid Property ................................................................................................................ 466

    HideGroupedColumns Property.......................................................................................... 466

    MaxGroups Property........................................................................................................... 467

    Watermark Property ........................................................................................................... 468

    WatermarkText Property .................................................................................................... 468

    C1FlexGridGroupPanel Events ................................................................................................ 469

    PropertyGroupCreated Event ............................................................................................. 470

    CellEditEventArgs Class ............................................................................................................... 471

  • 12

    CellEditEventArgs Members ................................................................................................... 472

    CellEditEventArgs Constructor ................................................................................................ 473

    CellEditEventArgs Properties .................................................................................................. 474

    CancelEdits Property ........................................................................................................... 476

    Editor Property .................................................................................................................... 476

    CellFactory Class ......................................................................................................................... 477

    CellFactory Members .............................................................................................................. 478

    CellFactory Constructor .......................................................................................................... 481

    CellFactory Methods ............................................................................................................... 481

    ApplyCellStyles Method ...................................................................................................... 484

    CreateBottomLeftContent Method .................................................................................... 486

    CreateCell Method .............................................................................................................. 487

    CreateCellBorder Method ................................................................................................... 488

    CreateCellContent Method ................................................................................................. 490

    CreateCellContentEditor Method ....................................................................................... 491

    CreateCellEditor Method .................................................................................................... 492

    CreateColumnFooterContent Method ............................................................................... 493

    CreateColumnHeaderContent Method .............................................................................. 495

    CreateRowHeaderContent Method .................................................................................... 496

    CreateTopLeftContent Method .......................................................................................... 497

    DisposeCell Method ............................................................................................................ 498

    GetBorderThickness Method .............................................................................................. 500

    GetCellPadding Method ...................................................................................................... 501

    GetErrorImage Method ...................................................................................................... 502

    IsSortSymbolRow Method .................................................................................................. 503

    CellRange Structure .................................................................................................................... 504

    CellRange Members ................................................................................................................ 504

    CellRange Constructor ............................................................................................................ 508

    CellRange Constructor (UIElement) .................................................................................... 509

    CellRange Constructor (Int32, Int32) .................................................................................. 509

    CellRange Constructor (Int32, Int32, Int32, Int32) ............................................................. 511

    CellRange Methods ................................................................................................................. 512

  • 13

    Contains Method ................................................................................................................ 514

    ContainsColumn Method .................................................................................................... 516

    ContainsRow Method ......................................................................................................... 517

    Equals Method .................................................................................................................... 518

    GetHashCode Method ........................................................................................................ 519

    Intersection Method ........................................................................................................... 520

    Intersects Method ............................................................................................................... 521

    Normalize Method .............................................................................................................. 522

    SetRange Method ............................................................................................................... 522

    Union Method ..................................................................................................................... 526

    CellRange Operators ............................................................................................................... 526

    Equality Operator ................................................................................................................ 527

    Inequality Operator............................................................................................................. 528

    CellRange Properties ............................................................................................................... 529

    BottomRow Property .......................................................................................................... 531

    Cells Property ...................................................................................................................... 531

    Column Property ................................................................................................................. 532

    Column2 Property ............................................................................................................... 533

    ColumnSpan Property ......................................................................................................... 534

    Empty Property ................................................................................................................... 534

    IsSingleCell Property ........................................................................................................... 535

    IsValid Property ................................................................................................................... 536

    LeftColumn Property ........................................................................................................... 536

    RightColumn Property ........................................................................................................ 537

    Row Property ...................................................................................................................... 538

    Row2 Property .................................................................................................................... 538

    RowSpan Property .............................................................................................................. 539

    TopRow Property ................................................................................................................ 540

    CellRangeEventArgs Class ........................................................................................................... 540

    CellRangeEventArgs Members ................................................................................................ 541

    CellRangeEventArgs Constructor ............................................................................................ 542

    CellRangeEventArgs Properties .............................................................................................. 543

  • 14

    CellRange Property ............................................................................................................. 544

    CellType Property ................................................................................................................ 544

    Column Property ................................................................................................................. 545

    Panel Property .................................................................................................................... 546

    Row Property ...................................................................................................................... 546

    CellStyle Class .............................................................................................................................. 547

    CellStyle Members .................................................................................................................. 547

    CellStyle Constructor .............................................................................................................. 550

    CellStyle Methods ................................................................................................................... 551

    Apply Method ..................................................................................................................... 551

    Clone Method ..................................................................................................................... 554

    CellStyle Properties ................................................................................................................. 554

    Background Property .......................................................................................................... 556

    BorderBrush Property ......................................................................................................... 557

    BorderThickness Property ................................................................................................... 557

    CornerRadius Property........................................................................................................ 558

    FontFamily Property ........................................................................................................... 559

    FontSize Property ................................................................................................................ 559

    FontStyle Property .............................................................................................................. 560

    FontWeight Property .......................................................................................................... 561

    Foreground Property .......................................................................................................... 561

    HorizontalAlignment Property ............................................................................................ 562

    Tag Property ........................................................................................................................ 563

    TextDecorations Property ................................................................................................... 563

    TextTrimming Property ....................................................................................................... 564

    TextWrapping Property ...................................................................................................... 565

    VerticalAlignment Property ................................................................................................ 565

    CellStyle Events ....................................................................................................................... 566

    PropertyChanged Event ...................................................................................................... 566

    CellType Enumeration ................................................................................................................. 567

    ClipboardCopyMode Enumeration ............................................................................................. 568

    Column Class ............................................................................................................................... 570

  • 15

    Column Members ................................................................................................................... 571

    Column Constructor ................................................................................................................ 580

    Column Methods .................................................................................................................... 580

    Column Properties .................................................................................................................. 581

    ActualWidth Property ......................................................................................................... 589

    AllowSorting Property ......................................................................................................... 590

    AutoGenerated Property .................................................................................................... 591

    Binding Property ................................................................................................................. 592

    BoundPropertyName Property ........................................................................................... 592

    CellEditingTemplate Property ............................................................................................. 593

    CellTemplate Property ........................................................................................................ 594

    ColumnName Property ....................................................................................................... 596

    DataType Property .............................................................................................................. 597

    FooterCellStyle Property ..................................................................................................... 598

    Format Property .................................................................................................................. 598

    Grid Property ...................................................................................................................... 599

    GridPanel Property ............................................................................................................. 600

    GroupAggregate Property ................................................................................................... 600

    Header Property ................................................................................................................. 601

    HeaderTemplate Property .................................................................................................. 602

    Index Property .................................................................................................................... 602

    Left Property ....................................................................................................................... 603

    MaxWidth Property ............................................................................................................ 604

    MinWidth Property ............................................................................................................. 604

    PropertyInfo Property ......................................................................................................... 605

    Right Property ..................................................................................................................... 606

    ToolTip Property ................................................................................................................. 607

    ValueConverter Property .................................................................................................... 607

    Width Property ................................................................................................................... 608

    ColumnCollection Class ............................................................................................................... 609

    ColumnCollection Members ................................................................................................... 609

    ColumnCollection Methods .................................................................................................... 613

  • 16

    Contains Method ................................................................................................................ 615

    IndexOf Method .................................................................................................................. 616

    ColumnCollection Properties .................................................................................................. 618

    Item Property ...................................................................................................................... 619

    Selected Property................................................................................................................ 621

    ColumnCollection Events ........................................................................................................ 621

    ColumnFilter Class ...................................................................................................................... 622

    ColumnFilter Members ........................................................................................................... 623

    ColumnFilter Methods ............................................................................................................ 624

    Apply Method ..................................................................................................................... 625

    Clear Method ...................................................................................................................... 626

    ColumnFilter Properties .......................................................................................................... 626

    Column Property ................................................................................................................. 627

    ConditionFilter Property ..................................................................................................... 628

    DataType Property .............................................................................................................. 629

    FilterType Property ............................................................................................................. 630

    IsActive Property ................................................................................................................. 631

    Owner Property .................................................................................................................. 632

    ValueFilter Property ............................................................................................................ 633

    ColumnFilterEditor Class ............................................................................................................. 634

    ColumnFilterEditor Members ................................................................................................. 634

    ColumnFilterEditor Constructor .............................................................................................. 641

    ColumnFilterEditor Methods .................................................................................................. 641

    OnApplyTemplate Method ................................................................................................. 643

    ColumnFilterEditor Properties ................................................................................................ 644

    Filter Property ..................................................................................................................... 648

    ValueFilterVisible Property ................................................................................................. 648

    ColumnFilterEditor Events ...................................................................................................... 649

    CloseEditor Event ................................................................................................................ 650

    ColumnValueConverter Class ..................................................................................................... 651

    ColumnValueConverter Members .......................................................................................... 653

    ColumnValueConverter Constructor ...................................................................................... 655

  • 17

    ColumnValueConverter Constructor .................................................................................. 656

    ColumnValueConverter Constructor (IDictionary) ............................................................. 657

    ColumnValueConverter Constructor (ICollection, Boolean) ............................................... 658

    ColumnValueConverter Constructor (IEnumerable, String, String) .................................... 659

    ColumnValueConverter Methods ........................................................................................... 660

    Convert Method .................................................................................................................. 661

    ConvertBack Method .......................................................................................................... 663

    SetSource Method .............................................................................................................. 664

    ColumnValueConverter Properties ......................................................................................... 668

    Exclusive Property ............................................................................................................... 669

    Values Property ................................................................................................................... 670

    Condition Class ............................................................................................................................ 670

    Condition Members ................................................................................................................ 671

    Condition Methods ................................................................................................................. 672

    Apply Method ..................................................................................................................... 673

    Clear Method ...................................................................................................................... 674

    Condition Properties ............................................................................................................... 674

    IsActive Property ................................................................................................................. 675

    Operator Property .............................................................................................................. 675

    Parameter Property ............................................................................................................ 676

    ConditionFilter Class ................................................................................................................... 677

    ConditionFilter Members ........................................................................................................ 678

    ConditionFilter Methods ......................................................................................................... 679

    Apply Method ..................................................................................................................... 680

    Clear Method ...................................................................................................................... 681

    ConditionFilter Properties....................................................................................................... 681

    AndConditions Property...................................................................................................... 682

    Condition1 Property............................................................................................................ 683

    Condition2 Property............................................................................................................ 684

    DataType Property .............................................................................................................. 685

    IsActive Property ................................................................................................................. 686

    ConditionOperator Enumeration ................................................................................................ 687

  • 18

    CustomAggregateEventArgs Class .............................................................................................. 689

    CustomAggregateEventArgs Members ................................................................................... 690

    CustomAggregateEventArgs Constructor ............................................................................... 691

    CustomAggregateEventArgs Properties ................................................................................. 692

    Result Property ................................................................................................................... 693

    DataTypeConverter Class ............................................................................................................ 694

    DataTypeConverter Members ................................................................................................ 695

    DataTypeConverter Constructor ............................................................................................. 698

    DataTypeConverter Methods ................................................................................................. 698

    CanConvertFrom Method ................................................................................................... 700

    CanConvertTo Method ....................................................................................................... 702

    ConvertFrom Method ......................................................................................................... 703

    ConvertTo Method .............................................................................................................. 705

    DeferScrolling Enumeration ........................................................................................................ 706

    FileFormat Enumeration ............................................................................................................. 707

    FilterExtensionMethods Class ..................................................................................................... 707

    FilterExtensionMethods Members ......................................................................................... 709

    FilterExtensionMethods Methods .......................................................................................... 710

    EnableFiltering Method ...................................................................................................... 710

    GetColumnFilter Method .................................................................................................... 711

    FilterType Enumeration .............................................................................................................. 712

    GridLinesVisibility Enumeration .................................................................................................. 713

    GridPanel Class............................................................................................................................ 714

    GridPanel Members ................................................................................................................ 715

    GridPanel Methods ................................................................................................................. 722

    AutoSizeColumn Method .................................................................................................... 724

    AutoSizeRow Method ......................................................................................................... 726

    GetCellElement Method ..................................................................................................... 727

    GetCellRect Method............................................................................................................ 729

    GetDataFormatted Method ................................................................................................ 732

    GetDataRaw Method .......................................................................................................... 733

    HitTest Method ................................................................................................................... 734

  • 19

    Invalidate Method............................................................................................................... 735

    GridPanel Properties ............................................................................................................... 737

    CellType Property ................................................................................................................ 740

    Columns Property ............................................................................................................... 740

    Grid Property ...................................................................................................................... 741

    Item Property ...................................................................................................................... 742

    Rows Property ..................................................................................................................... 746

    GridPanel Events ..................................................................................................................... 747

    GroupRow Class .......................................................................................................................... 748

    GroupRow Members ............................................................................................................... 749

    GroupRow Constructor ........................................................................................................... 757

    GroupRow Methods ................................................................................................................ 758

    GetCellRange Method ......................................................................................................... 759

    GetDataItems Method ........................................................................................................ 760

    GroupRow Properties ............................................................................................................. 760

    Group Property ................................................................................................................... 768

    HasChildren Property .......................................................................................................... 768

    IsCollapsed Property ........................................................................................................... 769

    Item Property ...................................................................................................................... 770

    Level Property ..................................................................................................................... 770

    GroupRowPosition Enumeration ................................................................................................ 771

    HeadersVisibility Enumeration ................................................................................................... 772

    HitTestInfo Class ......................................................................................................................... 773

    HitTestInfo Members .............................................................................................................. 774

    HitTestInfo Methods ............................................................................................................... 775

    HitTestInfo Properties ............................................................................................................. 776

    CellRange Property ............................................................................................................. 777

    CellType Property ................................................................................................................ 778

    Column Property ................................................................................................................. 778

    MouseEventArgs Property .................................................................................................. 779

    Panel Property .................................................................................................................... 779

    Point Property ..................................................................................................................... 780

  • 20

    Rect Property ...................................................................................................................... 781

    Row Property ...................................................................................................................... 781

    ICellFactory Interface .................................................................................................................. 782

    ICellFactory Members ............................................................................................................. 783

    ICellFactory Methods .............................................................................................................. 783

    CreateCell Method .............................................................................................................. 784

    CreateCellEditor Method .................................................................................................... 785

    DisposeCell Method ............................................................................................................ 787

    IEditValueConverter Interface .................................................................................................... 788

    IEditValueConverter Members ............................................................................................... 788

    IEditValueConverter Methods ................................................................................................ 789

    IEditValueConverter Properties .............................................................................................. 790

    Exclusive Property ............................................................................................................... 790

    Values Property ................................................................................................................... 791

    IMergeManager Interface ........................................................................................................... 792

    IMergeManager Members ...................................................................................................... 792

    IMergeManager Methods ....................................................................................................... 793

    GetMergedRange Method .................................................................................................. 793

    KeyAction Enumeration .............................................................................................................. 795

    MergeManager Class .................................................................................................................. 796

    MergeManager Members ....................................................................................................... 797

    MergeManager Constructor ................................................................................................... 798

    MergeManager Methods ........................................................................................................ 798

    GetMergedRange Method .................................................................................................. 799

    NewRowPosition Enumeration ................................................................................................... 800

    NewRowTemplate Class.............................................................................................................. 801

    NewRowTemplate Members .................................................................................................. 802

    NewRowTemplate Methods ................................................................................................... 810

    NewRowTemplate Properties ........................