Feature Comparison / FlexGrid API Comparison
In This Topic
FlexGrid API Comparison
In This Topic

Explore the object model of C1FlexGrid class in WinForms and WPF editions.

Elements

Properties

FlexGrid for WinForms

FlexGrid for WPF

Comments

BottomRow

BottomRow

Cols

Columns

ExtendLastCol

 

Set the width of the last column to "*".

LeftCol

LeftColumn

Rows

 

RightCol

 

TopRow

 


Methods

FlexGrid for WinForms

FlexGrid for WPF

Comments

FindRow(...)

 

Not supported (Can be easily done through code)


Events

FlexGrid for WinForms

FlexGrid for WPF

Comments

EnterCell

SelectionChanged

LeaveCell

SelectionChanging

RowValidated

OnRowEditEnded

RowValidating

OnRowEditEnding

Core Features

Properties

FlexGrid for WinForms

FlexGrid for WPF

Comments

AllowAddNew

 

Supported at data source level, no built-in UI.

AllowDelete

 

Not supported.

AllowEditing

IsReadOnly

Renamed for consistency across WPF controls.

AllowFiltering

 

Supported at data source level, no built-in UI.

AllowFreezing

 

See Rows.Frozen and Columns.Frozen properties.

AllowMerging

AllowMerging

AllowSorting

AllowSorting

AutoSearch

 

Not supported.

AutoSearchDelay

 

Not supported.

AutoGenerateColumns

AutoGenerateColumns

DataSource

ItemsSource

Enabled

IsEnabled

EditOptions

 

See CellFactory property, PrepareCellForEdit event.

SelectionMode

SelectionMode

Subtotal

Column.GroupAggregate

SubtotalPosition

 

Not supported.


Methods

FlexGrid for WinForms

FlexGrid for WPF

Comments

BeginUpdate

 

EndUpdate

 

FinishEditing (bool cancel)

 

LoadExcel (string)

 

SaveExcel (string)

 

Select(int row, int col, bool scrollIntoView)

 

Sort (order, int col1, int col2)

 

StartEditing (row, col)

 


Events

FlexGrid for WinForms

FlexGrid for WPF

Comments

AfterSort

 

AfterSubtotal

 

Not supported

BeforeSubtotal

 

Not supported

StartEdit

BeginningEdit

SetUpEditor

PrepareCellForEdit

Layout and Appearance

Properties

FlexGrid for WinForms

FlexGrid for WPF

Comments

BackColor

Background

ClipboardCopyMode

ClipboardCopyMode

DrawMode

 

See CellFactory property.

HighLight

 

Not supported.

NewRowWatermark

 

Not supported.

ShowButtons

 

Not supported.

ShowCellLabels

 

Not supported.

ShowCursor

 

Not supported.

ShowErrors

 

Not supported.

ShowSort

ShowSort

FocusRect

 

Not supported.

User Interaction

Properties

FlexGrid for WinForms

FlexGrid for WPF

Comments

AllowDragging

AllowDragging

AllowResizing

AllowResizing

AutoResize

 

See AutoSizeRows and AutoSizeColumns methods.

ScrollBars

HorizontalScrollbarVisibility VerticalScrollbarVisibility

Not supported.

ScrollOptions

 

Not supported.

ScrollPosition

ScrollPosition


Events

FlexGrid for WinForms

FlexGrid for WPF

Comments

AfterScroll             

ScrollPositionChanged

BeforeScroll

ScrollPositionChanging

AfterSelChange

SelectionChanged

BeforeSelChange

SelectionChanging

SelChange

SelectionChanged

Keyboard Interaction

Properties

FlexGrid for WinForms

FlexGrid for WPF

Comments

AutoClipboard

 

See ClipboardCopyMode and ClipboardPasteMode

ClipboardCopyMode

ClipboardCopyMode

KeyActionEnter

KeyActionEnter

KeyActionTab

KeyActionTab

ScrollOptions

 

Not supported.

ScrollPosition

ScrollPosition

Hierarchical Features

Properties

FlexGrid for WinForms

FlexGrid for WPF

Comments

TreeIndent

Tree.Indent

Tree.Show(level)

CollapseGroupsToLevel(level)

See Also