Xceed DataGrid for WPF v7.2 Documentation
DataGridControl Class Properties


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace : DataGridControl Class

For a list of all members of this type, see DataGridControl members.

Public Properties
 NameDescription
Public Property (Inherited from System.Windows.FrameworkElement)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating whether the end user can toggle the expansion state of the grid's immediate child details.  
Public Property

Gets or sets a value indicating whether an effect occurs when the user attempts to perform a drag operation within the DataGrid. The default behavior allows selected rows to be dragged to a target host, such as Excel, in order to copy the data directly without the user having to perform an explicit copy/paste.

Drag can also be activated in order to select rows or cells within the DataGrid. See DataGridControl.DragBehavior property.


 
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets if the SearchControl can be activated by the OpenSearch or ToggleSearch commands.  
Public PropertyGets or sets if UI Automation support is enabled or not. The default value is true.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets the delai allowed to obtained information from the data source, after which a timeout will be thrown.  
Public Property

Gets or sets a value indicating whether columns should automatically be created when the grid is bound to an ItemsSource.

 
Public Property

Gets or sets a value indicating whether the detail configurations of the grid are automatically created.

 
Public Property

Gets or sets a value indicating whether the foreign key configurations are automatically created.

 
Public PropertyGets or sets a value indicating whether existing columns and detail configurations that do not have a matching field or relation in the data source are removed from their corresponding collections.   
Public PropertyGets or sets the triggers that are allowed to cause the current item can be scrolled into view automatically.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating under what conditions the editors for the cells are displayed.  
Public PropertyGets or sets the style that will be used by the cells contained in the grid when their content fails the validation process.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a collection of clipboard exporters (see Remarks).  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a list of the columns contained in the grid.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets the connection error.  
Public PropertyGets the connection state of the underlying virtualized collection.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property

Gets or sets the grid's current master column.

 
Public Property

Gets or sets the field name of the grid's current master column.

 
Public PropertyGets the context in which the global current item is located.  
Public PropertyGets or sets the grid's current master data item.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a list of CellEditors that will be used, by default, for cells of the associated data type if none is explicitly provided.  
Public PropertyGets or sets the detail configuration that will be applied to the child details of the grid and any descendant details when an explicit detail configuration is not provided for a specific detail relation.  
Public PropertyGets or sets the default configuration that will be applied to any groups in the grid for which an explicit group configuration is not provided.  
Public PropertyGets or sets a value indicating whether the datagrid should defer rendering itself until after the owner Window (and the other controls in it) has completed its layout pass.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets the list of the detail configurations that have been explicitly provided for specific detail relations and that will be applied to any corresponding details.  
Public Property

Gets or sets a detail-configuration selector that will be used to select the appropriate configuration for a detail grid based on its information.

 
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property

Gets or sets a value indicating the expected drag behavior within the datagrid. Default: DragDrop.

The datagrid allows users to select multiple items or cells using Left-Click and then dragging the mouse within the datagrid. This allows range selection to be performed without having to hold the Shift key on the keyboard.

To activate this feature, set the DataGrid's AllowDrag property to true and this DragBehavior property to "Select". The View must be a valid instance or subclass of TableView (ex. TableFlowView, TreeGridflowView).

 
Public PropertyGets or sets a value indicating what triggers will cause cells to enter edit mode.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets the column that is current in all the available contexts.  
Public PropertyGets the data item that is current in all the available contexts.  
Public PropertyGets the data items that are selected in all the available contexts.  
Public PropertyGets or sets a group-configuration selector that will be used to select the appropriate configuration for a master group based on its information and/or content.  
Public PropertyGets a collection of GroupLevelDescription objects that contain information on each group level contained in the grid.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a value indicating whether the grid has details.  
Public PropertyGets if there is a SearchControl currently displayed in the DataGridControl.  
Public PropertyGets a value indicating whether the content of one of the cells contained in the grid failed the validation process.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property

Gets or sets a value indicating whether the selected rows should remain highlighted when the grid loses focus.

 
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a value indicating whether a row is being edited.  
Public PropertyGets or sets a value indicating whether the selected items in the grid can be copied when the CTRL-C keys are pressed.  
Public PropertyGets or sets a value indicating whether the selected items in the grid can be deleted when the DELETE key is pressed.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating that the datagrid's group selection feature is enabled. Allows the end-user to select entire groups as well as rows. See Remarks below for more information.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating whether the items in the grid are refreshed when the F5 key is pressed.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating how the data items in the grid are scrolled.  
Public PropertyGets or sets a value representing which axis of a DataRow must be completely visible in order to determine which DataRow will receive the focus when the page-up or page-down buttons are pressed.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets the name of the grid's items source.  
Public PropertyGets or sets the template that is used to display the name of the grid's items source.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating the maximum number of group levels that can be created.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating the maximum number of sort levels that can be created.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a list of the merged column headers in the datagrid.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating how the focus navigates from one element to another in the grid.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value representing the paging behavior of the grid when the page-up and page-down buttons are pressed.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property  
Public PropertyGets or sets the PrintView, which will be used when printing or exporting the grid.  
Public PropertyGets or sets a value indicating whether the values of the cells contained in the grid can be edited.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets the text to search for in code behind.  
Public Property

Gets the cell ranges selected in the datagrid control.

 
Public PropertyGets the contexts in which items are selected.  
Public Property

Gets or sets the index of the currently selected data item.

 
Public PropertyGets or sets the selected data item.  
Public Property

Gets a collection of the data item ranges selected in the datagrid control.

 
Public PropertyGets a collection of the data items that are currently selected in the grid.  
Public PropertyGets or sets a collection of the data items that are currently selected in the grid.  
Public Property

Gets or sets a value indicating how data items in the grid are selected.

 
Public PropertyGets or sets a value indicating which type of unit (cell or row) is used for selections in the datagrid.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a spanned cell configuration selector that will be used to indicate which configuration to use for a given SpannedCell.  
Public PropertyGets or sets a value that indicates how to resolve a conflict when multiple different SpannedCells can be made from the same set of cells.  
Public PropertyGets or sets a spanned cell selector that will be used to indicate which cells can be merged, and what will be the resulting SpannedCell.  
Public PropertyGets the collection of StatCellConfiguration for DataGridControl.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value indicating whether the grid's current item is synchronized with the collection view's current item.  
Public PropertyGets or sets a value indicating whether the current item is always selected.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets a value representing the moment when data is to be written to the underlying data source.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets or sets the view applied to the grid.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Public PropertyGets a list of the columns whose Visible property is true, ordered according to their VisiblePositions.  
Public Property (Inherited from System.Windows.Controls.ItemsControl)
Top
Protected Properties
 NameDescription
Protected Internal Property (Inherited from System.Windows.FrameworkElement)
Protected PropertyOverridden. Gets a value indicating whether the grid supports scrolling.  
Protected Internal Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Internal Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected PropertyOverridden.   
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Internal Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Internal Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Internal Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Protected Property (Inherited from System.Windows.Controls.ItemsControl)
Top
See Also

Reference

DataGridControl Class
Xceed.Wpf.DataGrid Namespace

DataGrid Fundamentals

Providing Data
DataGridControl Class

Getting Started

Migrating from Xceed Grid for .NET