Feature Comparison > FlexGrid API Comparison |
Explore the object model of C1FlexGrid class in WinForms, and WPF and Silverlight editions.
Elements
Properties | ||
FlexGrid for WinForms |
FlexGrid for WPF and Silverlight |
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 and Silverlight |
Comments |
FindRow(...) |
|
Not supported (Can be easily done through code) |
Events | ||
FlexGrid for WinForms |
FlexGrid for WPF and Silverlight |
Comments |
EnterCell |
SelectionChanged |
|
LeaveCell |
SelectionChanging |
|
RowValidated |
OnRowEditEnded |
|
RowValidating |
OnRowEditEnding |
|
Core Features
Properties | ||
FlexGrid for WinForms |
FlexGrid for WPF and Silverlight |
Comments |
AllowAddNew |
|
Supported at data source level, no built-in UI. |
AllowDelete |
|
Not supported. |
AllowEditing |
IsReadOnly
|
Renamed for consistency across WPF and Silverlight 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 and Silverlight |
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 and Silverlight |
Comments |
AfterSort |
|
|
AfterSubtotal |
|
Not supported |
BeforeSubtotal |
|
Not supported |
StartEdit |
BeginningEdit
|
|
SetUpEditor |
PrepareCellForEdit
|
|
Layout and Appearance
Properties | ||
FlexGrid for WinForms |
FlexGrid for WPF and Silverlight |
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 and Silverlight |
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 and Silverlight |
Comments |
AfterScroll |
ScrollPositionChanged
|
|
BeforeScroll |
ScrollPositionChanging |
|
AfterSelChange |
SelectionChanged |
|
BeforeSelChange |
SelectionChanging |
|
SelChange |
SelectionChanged |
|
Keyboard Interaction
Properties | ||
FlexGrid for WinForms |
FlexGrid for WPF and Silverlight |
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 and Silverlight |
Comments |
TreeIndent |
Tree.Indent |
|
Tree.Show(level) |
CollapseGroupsToLevel(level) |
|
|