Skip to main content

Migrating from Version 1.x

Unfortunately, there is no direct way to migrate a WinForms application to Windows Presentation Foundation (WPF). This section of the documentation attempts to provide a one-to-one list of the properties, methods, and events for the GridControl class of Xceed Grid for .NET and its DataGridControl class counterpart in Xceed DataGrid for WPF.

Properties

Xceed Grid for .NETXceed DataGrid for WPF
AllowCellNavigation PropertyNavigationBehavior Property
AutoCreateColumns PropertyAutoCreateColumns Property
BackColor/ForeColor Propertiessee Styles
BackgroundImage/BackgroundImageAlignment/BackgroundImageStyle Propertiessee Styles
BorderStyle Propertysee Styles
CellEditorDisplayConditions PropertyCellEditorDisplayConditions Property
CellEditorManagerMapping PropertyDefaultCellEditors Property
CellViewerManagerMapping PropertyColumn.CellContentTemplateSelector Property
ClipCurrentCellSelection Propertysee Styles
ClipPartialLine Propertysee Styles
Columns PropertyColumns Property
CurrentCell PropertyCurrentColumn/CurrentItem and GlobalCurrentColumn/GlobalCurrentItem Properties
CurrentColumn PropertyCurrentColumn and GlobalCurrentColumn Properties
CurrentGrid PropertyCurrentContext Property
CurrentRow PropertyCurrentItem and GlobalCurrentItem Properties
DataSource/DataMember PropertiesItemsSource Property
DataRows PropertyItems Property
DataRowTemplate/DataRowTemplateStyles Propertiessee Styles
Default* Propertiessee Styles
DetailGridTemplates PropertyDetailConfigurations Property
ErrorBackColor/ErrorForeColor/ErrorBehaviors/ErrorBlinkRate/ErrorBlinkStyle/ErrorIcon/ErrorVisualStyle PropertiesCellErrorStyle Property
FirstVisibleColumn PropertyColumn.IsFirstVisible Property
FirstVisibleRow PropertyN/A
FixedColumnSplitter PropertyFixedColumnSplitter Class
FixedFooterRows PropertyViewBase.FixedFooters Property (see also Headers and Footers)
FixedHeaderRows PropertyViewBase.FixedHeaders Property (see also Headers and Footers)
Font Propertysee Styles
FooterRows PropertyViewBase.Footers Property (see also Headers and Footers) DataGridContext
GradientMap Propertysee Styles
GridLineBackColor/GridLineColor/GridLinePen/GridLineStyle PropertiesTableView.HorizontalGridLineBrush/ HorizontalGridLineThickness/VerticalGridLineBrush/ VerticalGridLineThickness Properties (see also Table Views Overview)
GripLocation PropertyN/A
Groups Property GroupLevelDescriptions Property(see also Grouping Data)
GroupTemplates PropertyDefaultGroupConfiguration and GroupConfigurationSelector Properties
HeaderRows PropertyViewBase.Headers Property (see also Headers and Footers)
HideSelection PropertyHideSelection Property
HorizontalAlignment/VerticalAlignment Propertiessee Styles
InactiveSelectionBackColor/InactiveSelectionForeColor PropertiesRow.InactiveSelectionBackground/InactiveSelectionForeground Properties
InactiveSelectionVisualStyle Propertysee Styles
InBatchInitialization PropertyIsInitialized Property
OverflowTextError PropertyStatResultConverter.OverflowMessage property
ReadOnly PropertyReadOnly Property
ReportSettings/ReportStyle PropertiesN/A
RowSelectorPane PropertyTableView.ShowRowSelectorPane Property and RowSelectorPane ClassScrollBars Property N/A
SelectedRows PropertySelectedItem/SelectedItems/GlobalSelectedItems Properties
SelectedValue PropertyN/A
SelectionBackColor/SelectionForeColor PropertiesRow.SelectionBackground/SelectionForeground Properties
SelectionMode PropertySelectionMode Property
SelectionVisualStyle Propertysee Styles
ShowFocusRectangle Propertysee Styles
ShowTreeLines PropertyN/A
ShowUnlinkedColumns PropertyN/A
SideMargin PropertyGroupLevelIndicator Class
SingleClickEdit PropertyEditTriggers Property
SortedColumns PropertyItems.SortDescriptions Property (see Sorting Data)
SynchronizeDetailGrids PropertyN/A
Theme Propertysee Views and Themes Overview
Title PropertyItemsSourceName Property
TreeLineColor/TreeLinePenProperties N/A
Trimming PropertyColumn.TextTrimming Property
UIStyle Propertysee Views and Themes Overview
ValueMember PropertyN/A
WordWrap PropertyColumn.TextWrapping Property

Methods

Xceed Grid for .NETXceed DataGrid for WPF
ApplyStyleSheet Methodsee Styles
BeginInit/EndInit MethodsBeginInit/EndInit Methods
Clear MethodN/A
Clone MethodN/A
GetSortedDataRows MethodN/A
GetVisualGridElementAtPoint MethodGetContainerFromItem Method
IsInputChar/IsInputKey MethodsN/A
MoveCurrentCell/MoveCurrentRow MethodsN/A
On* MethodsN/A
PaintFocusRectangle Methodsee Styles
Print/PrintPreview MethodsPrint and ExportToXps Methods
Reset* MethodsN/A
Scroll MethodN/A
SetDataBinding MethodItemsSource Property
UpdateDetailGrids MethodN/A
UpdateGrouping Methodsee Grouping Data
UpdateRectangles MethodN/A

Events

Xceed Grid for .NETXceed DataGrid for WPF
AddingDataRow Event N/A
*Changed EventsPropertyChanged Event
ColumnAdded/ColumnRemoved EventsColumns.CollectionChanged Event
GroupAdded/GroupingUpdated EventsGroupDescriptions.CollectionChanged Event (see also Grouping Data)
InitializingDetailGrid EventN/A
InitializingNewDataRow EventN/A
QueryGroupKeys EventGroupConfigurationSelector Property
Sorted EventSortDescriptions.CollectionChanged Event (see also Sorting Data)

Other Classes

Xceed Grid for .NETXceed DataGrid for WPF
Cell ClassCell Class
CellRow ClassRow Class
Column ClassColumn Class
ColumnManagerCell ClassColumnManagerCell Class
ColumnManagerRow ClassColumnManagerRow Class
DataBoundColumn ClassColumn Class
DataCell ClassDataCell Class
DataRow ClassDataRow Class
DetailGrid ClassDataGridDetailDescription and DetailConfiguration Classes
DetailGridMargin ClassDetailConfiguration Class
FixedColumnSplitter ClassFixedColumnSplitter and TableView Classes
Gradient* Classessee Styles
GridControl ClassDataGridControl Class
GridElement ClassN/A
GridElementStyle Classsee Styles
GridPrintDocument ClassPrintViewBase and PrintTableView Classes
*Style Classessee Styles
Group/GroupBase ClassesGroupLevelDescription Class (see also Grouping Data)
GroupByRow ClassGroupByControl Class
GroupByCell ClassGroupByItem Class
GroupManagerRow ClassGroupHeaderControl Class
GroupMargin ClassGroupLevelIndicator Class and GroupLevelIndicatorPane Class
InsertionCell ClassInsertionCell Class
InsertionRow ClassInsertionRow Class
Row ClassRow Class
RowSelector ClassRowSelector Class
RowSelectorPane ClassRowSelectorPane Class
SpacerRow ClassSystem.Windows.Controls.Border Class
StyleSheet Classsee Styles
SummaryCell ClassStatCell Class
SummaryRow ClassStatRow Class
TextRow ClassSystem.Windows.Controls.TextBlock Class
ValueCell ClassCell Class
ValueRow ClassRow Class
VisualGridElement ClassN/A