Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.DataGrid.Toolkit Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class
Members Example


In This Topic
    DataGridControl Class
    In This Topic
    Represents the Xceed DataGrid for WPF control, which allows data to be displayed and edited, regardless of its layout.
    Syntax
    'Declaration
     
    <TemplatePartAttribute(Name="PART_ScrollViewer", Type=System.Windows.Controls.ScrollViewer)>
    <StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Xceed.Wpf.DataGrid.DataRow)>
    <DefaultEventAttribute("OnItemsChanged")>
    <DefaultPropertyAttribute("Items")>
    <ContentPropertyAttribute("Items")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class DataGridControl 
       Inherits System.Windows.Controls.ItemsControl
    'Usage
     
    Dim instance As DataGridControl
    [TemplatePart(Name="PART_ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
    [StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=Xceed.Wpf.DataGrid.DataRow)]
    [DefaultEvent("OnItemsChanged")]
    [DefaultProperty("Items")]
    [ContentProperty("Items")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class DataGridControl : System.Windows.Controls.ItemsControl 
    Remarks

    By default, when a new DataGridControl instance is created, it will contain a GroupByControl and a ColumnManagerRow in its fixed headers.

    Fixed Columns vs. Templates

    In order to support fixed columns when creating a new row template for a table-view layout, the following criteria must be met:

    1. The PART_CellsHost template part must be a FixedCellPanel.
    2. The FixedCellCount property of the FixedCellPanel must be bound to the table view's FixedColumnCount property using a TwoWay ViewBinding.

    The fixed-cell-panel properties listed below are also usually bound when provided a new row template for a table-view layout:

    1. SplitterStyle (TemplateBinding xcdg:TableView.FixedColumnSplitterStyle)
    2. SplitterWidth (xcdg:ViewBinding FixedColumnSplitterWidth)
    3. ShowSplitter (xcdg:ViewBinding ShowFixedColumnSplitter)
    4. FixedColumnDropMarkPen (xcdg:ViewBinding FixedColumnDropMarkPen)

    If a new template is provided for a DataGridControl and fixed columns are to be supported, it is essential that a TableViewScrollViewer be used. This scroll viewer is responsible for preserving the TranslateTransforms that fix and scroll elements, as well as executing the PageLeft and PageRight actions according to the reduced viewport.  It is also recommended that an AdornerDecorator be located above the TableViewScrollViewer of the templated DataGridControl to support drag and dropping of the fixed-column splitter correctly.

    Example
    All examples in this topic assume that the grid is bound to the Orders table of the Northwind database, unless stated otherwise.
    This first code example demonstrates how to create a connection to the Access version of the Northwind database and create a property named Orders to which the grid will be bound. The code should be placed in the App.xaml.vb file.
    Shared Sub New()
    
      Dim dataSet As New DataSet()
      Dim mdbfile As String = "Data\Northwind.mdb"
      Dim connString As String = String.Format("Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}", mdbfile)
      Dim conn As New OleDbConnection(connString)
      Dim adapter As New OleDbDataAdapter()
    
      m_adapter = New OleDbDataAdapter()
      m_adapter.SelectCommand = New OleDbCommand( "SELECT * FROM Employees;", conn )
      m_adapter.Fill( dataSet, "Employees" )
      m_employees = dataSet.Tables( "Employees" )
      m_adapter = New OleDbDataAdapter()
      m_adapter.SelectCommand = New OleDbCommand( "SELECT * FROM Orders;", conn )
      m_adapter.Fill( dataSet, "Orders" )
      m_orders = dataSet.Tables( "Orders" )
     
      m_adapter = New OleDbDataAdapter()
      m_adapter.SelectCommand = New OleDbCommand( "SELECT * FROM [Order Details];", conn )
      m_adapter.Fill( dataSet, "Order Details" )
      m_orderDetails = dataSet.Tables( "Order Details" ) 
      m_employees.ChildRelations.Add( New DataRelation( "Employee_Orders", m_employees.Columns( "EmployeeID" ), m_orders.Columns( "EmployeeID" ) ) )
      m_orders.ChildRelations.Add( New DataRelation( "Order_OrderDetails", m_orders.Columns( "OrderID" ), m_orderDetails.Columns( "OrderID" ) ) )
    End Sub
    
    Public Shared Readonly Property Employees As DataTable
      Get
        Return m_employees
       End Get
    End Property
    
    Public Shared Readonly Property Orders As DataTable
      Get
        Return m_orders
       End Get
    End Property
    
    Private Shared m_employees As DataTable
    Private Shared m_orders As DataTable
    Private Shared m_orderDetails As DataTable
    Private Shared m_adapter As OleDbDataAdapter = Nothing
    This first code example demonstrates how to create a connection to the Access version of the Northwind database and create a property named Orders to which the grid will be bound. The code should be placed in the App.xaml.cs file.
    static App()
    {
    
      DataSet dataSet = new DataSet();
      string mdbFile = @"Data\Northwind.mdb";
      string connString = String.Format( "Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}", mdbFile );
    
      OleDbConnection conn = new OleDbConnection( connString );
    
      m_adapter = new OleDbDataAdapter();
      m_adapter.SelectCommand = new OleDbCommand( "SELECT * FROM Employees;", conn );
      m_adapter.Fill( dataSet, "Employees" );
      m_employees = dataSet.Tables[ "Employees" ];
      m_adapter = new OleDbDataAdapter();
      m_adapter.SelectCommand = new OleDbCommand( "SELECT * FROM Orders;", conn )
      m_adapter.Fill( dataSet, "Orders" );
      m_orders = dataSet.Tables[ "Orders" ];
     
      m_adapter = new OleDbDataAdapter();
      m_adapter.SelectCommand = new OleDbCommand( "SELECT * FROM [Order Details];", conn );
      m_adapter.Fill( dataSet, "Order Details" );
      m_orderDetails = dataSet.Tables[ "Order Details" ];
      m_employees.ChildRelations.Add( new DataRelation( "Employee_Orders", m_employees.Columns[ "EmployeeID" ], m_orders.Columns[ "EmployeeID" ] ) );
      m_orders.ChildRelations.Add( new DataRelation( "Order_OrderDetails", m_orders.Columns[ "OrderID" ], m_orderDetails.Columns[ "OrderID" ] ) );  
    }
    public static DataTable Employees
    {
      get
      {
        return m_employees;
       }
    }
    
    public static DataTable Orders
    {
      get
      {
        return m_orders;
       }
    }
    
    private static DataTable m_employees;
    private static DataTable m_orders;
    private static DataTable m_orderDetails;
    private static OleDbDataAdapter m_adapter = null;
    The next example demonstrates how to bind a grid to the Orders table, which is retrieved through the Orders property implemented in the code above.
    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
      <Grid.Resources>       
      <xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
                                      Source="{Binding Source={x:Static Application.Current},
                                                          Path=Orders}"/>
      </Grid.Resources>
      <xcdg:DataGridControl x:Name="OrdersGrid"
                            ItemsSource="{Binding Source={StaticResource cvs_orders}}"/>
    </Grid>
    The following example demonstrates how to bind a grid to an array defined in the resources of the containing grid.
    <Grid xmlns:s="clr-namespace:System;assembly=mscorlib"
          xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">                     
      <Grid.Resources>
      <x:Array x:Key="data_list" Type="{x:Type s:String}">
        <s:String>Sunday</s:String>
        <s:String>Monday</s:String>
        <s:String>Tuesday</s:String>
        <s:String>Wednesday</s:String>
        <s:String>Thursday</s:String>
        <s:String>Friday</s:String>
        <s:String>Saturday</s:String>
      </x:Array>
      </Grid.Resources>
      <xcdg:DataGridControl x:Name="OrdersGrid"
                            ItemsSource="{StaticResource data_list}"/>
    </Grid>
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         System.Windows.Controls.ItemsControl
                            Xceed.Wpf.DataGrid.DataGridControl

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DataGrid class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the AllowDetailToggle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the AllowDrag dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the AutoCreateColumns dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the AutoCreateForeignKeyConfigurations dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CellEditorDisplayConditions dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CellErrorStyle dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Columns dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ConnectionError dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ConnectionState dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Container attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CurrentChanging routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the CurrentChanged routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DataGridContext attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultDetailConfiguration dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DefaultGroupConfiguration dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DeferInitialLayoutPass dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DeletingSelectedItemError routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DeletingSelectedItems routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the EditTriggers dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the GroupConfigurationSelector dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the GroupLevelDescriptions dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HasExpandedDetails attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HasValidationError dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HideSelection dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsBeingEdited dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsCopyCommandEnabled dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsDeleteCommandEnabled dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsFixedFootersHost attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsFixedHeadersHost attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsRefreshCommandEnabled dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ItemScrollingBehavior dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ItemsPrimaryAxis dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ItemsSourceNameTemplate dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MaxGroupLevels dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the MaxSortLevels dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the NavigationBehavior dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PagingBehavior dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ParentDataGridControl attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the ReadOnly dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedCellRanges dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedIndex dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedItem dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedRanges dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedItemsDeleted routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectedItems dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectionChanged routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectionChangingEvent routed event.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectionMode dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SelectionUnit dependency property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Identifies the StatContext attached property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SynchronizeCurrent dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SynchronizeSelectionWithCurrent dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the UpdateSourceTrigger dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the View dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the VisibleColumns dependency property.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value indicating whether the end user can toggle the expansion state of the grid's immediate child details.  
    Public PropertyGets or sets a value indicating whether selected rows can be dragged to a target host, such as Excel, in order to copy the data directly without performing an explicit copy/paste.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    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 foreign key configurations are automatically created.

     
    Public Property  
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    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.UIElement)
    Public PropertyGets a collection of clipboard exporters (see Remarks).  
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets a list of the columns contained in the grid.  
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets the connection error.  
    Public PropertyGets the connection state of the underlying virtualized collection.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property

    Gets or sets 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.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    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.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public PropertyGets or sets a value indicating what triggers will cause cells to enter edit mode.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    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.UIElement)
    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.FrameworkElement)
    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.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    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.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    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.DependencyObject)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.UIElement)
    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.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value indicating the maximum number of group levels that can be created.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value indicating the maximum number of sort levels that can be created.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    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.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    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.FrameworkElement)
    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.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    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 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.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    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.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    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.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets or sets the view applied to the grid.  
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets a list of the columns whose Visible property is true, ordered according to their VisiblePositions.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    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.UIElement)
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Property (Inherited from System.Windows.UIElement)
    Protected Internal Property (Inherited from System.Windows.Controls.ItemsControl)
    Protected Property (Inherited from System.Windows.UIElement)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.FrameworkElement)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Internal Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Protected Property (Inherited from System.Windows.Media.Visual)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodRetrieves a value indicating whether the details for the specified master data item are expanded.  
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public MethodOverloaded. Places the grid's current item in edit mode.  
    Public MethodOverridden. Signals the beginning of a batch modification process.  
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded. Attempts to bring this element into view, within any scrollable regions it is contained within. (Inherited from System.Windows.FrameworkElement)
    Public MethodBrings the specified item into view.  
    Public MethodCancels the edit process of master item being edited.  
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodCollapses the specified master group.  
    Public Method (Inherited from System.Windows.Controls.ItemsControl)
    Public Method  
    Public MethodEnds the edit process of the master item that is being edited.  
    Public MethodOverridden. Signals the end of a batch modification process.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodExpands the specified master group.  
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method  
    Public MethodRetrieves the child DataGridContexts of the grid.  
    Public Methodstatic (Shared in Visual Basic)Retrieves the container for the specified DependencyObject.  
    Public MethodRetrieves a container of the specified item.  
    Public Methodstatic (Shared in Visual Basic)Retrieves the DataGridContext for the specified DependencyObject.  
    Public MethodRetrieves the group for the specified CollectionViewGroup.  
    Public Methodstatic (Shared in Visual Basic)Gets a value that indicates whether a container (DataRow) has one or more expanded details.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Methodstatic (Shared in Visual Basic)

    Gets a value that, when set by a panel, identifies that panel as the host that will contain all elements added to the grid's fixed footers through the FixedFooters property.

     
    Public Methodstatic (Shared in Visual Basic)

    Gets a value that, when set by a panel, identifies that panel as the host that will contain all elements added to the grid's fixed headers through the FixedHeaders property.

     
    Public MethodRetrieves an item for the specified container.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodRetrieves the parent group for the specified item.  
    Public Methodstatic (Shared in Visual Basic)Gets the context from which a statistical function retrieves the values needed to calculate its result, and that exposes the results as properties that have the same names as the functions' ResultPropertyName properties.   
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public MethodRetrieves a value indicating whether the specified master group is expanded.  
    Public Method (Inherited from System.Windows.UIElement)
    Public Method  
    Public Method  
    Public Method  
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverridden. Builds the visual tree for the element.  
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Methodstatic (Shared in Visual Basic)

    Sets a value that, when set by a panel, identifies that panel as the host that will contain all elements added to the grid's fixed footers through the FixedFooters property.

     
    Public Methodstatic (Shared in Visual Basic)

    Sets a value that, when set by a panel, identifies that panel as the host that will contain all elements added to the grid's fixed headers through the FixedHeaders property.

     
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public MethodToggles the specified master group.  
    Public Method (Inherited from System.Windows.Controls.ItemsControl)
    Public MethodOverloaded.  (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.Media.Visual)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.UIElement)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverridden.   
    Protected MethodOverridden. 

    Reverts the effects of PrepareContainerForItemOverride.

     
    Protected MethodOverridden. Creates or identifies the element used to display the specified item.  
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. Determines if the specified item is (or is eligible to be) its own ItemContainer.  
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodCollapses the group when the command is executed.  
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOccurs when the Copy command is executed.  
    Protected MethodOverridden. Creates an appropriate AutomationPeer for this DataGridControl instance.  
    Protected MethodRaises the CurrentChanged event.  
    Protected MethodRaises the CurrentChanging event.  
    Protected Method

    Occurs when when the Delete command is executed.

     
    Protected MethodRaises the DeletingSelectedItemError event.  
    Protected MethodRaises the DeletingSelectedItems event.  
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodExpands the group when the command is executed.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method  
    Protected Method  
    Protected Method  
    Protected Method  
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. 

    Reports a change to the IsKeyboardFocusWithin property.

     
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method

    Reports a change to the Items property.

    (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected MethodOverridden. 

    Reports a change to the ItemsSource property.

     
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected MethodOverridden. Invoked when an unhandled KeyDown attached event reaches this element in its route.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. Raises the MouseLeave event.  
    Protected MethodOverridden. Raises the MouseLeftButtonDown event.  
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodRaises the PropertyChanged event.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. Invoked when an unhandled PreviewGotKeyboardFocus attached event reaches this element in its route.  
    Protected MethodInvoked when an unhandled PreviewKeyDown attached event reaches this element in its route. (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodOverridden. Invoked when an unhandled PreviewMouseDown attached event reaches this element in its route.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden. Raises the PreviewMouseUp event.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method  
    Protected Method

    Occurs when the Refresh command is executed.

     
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodRaises the SelectedItemsDeleted event.  
    Protected MethodRaises the SelectionChanged event.  
    Protected MethodRaises the SelectionChanging event.  
    Protected Method  
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodOccurs when this element gets text in a device-independent manner. (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method

    Toggles the group (expands or collapses it as necessary) when the command is executed.

     
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.Media.Visual)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverridden. Prepares the specified element to display the specified item.  
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Internal Method (Inherited from System.Windows.DependencyObject)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventRaised after the current visual row (any type that can be current) has been changed.  
    Public EventRaised when the current visual row (any type that can be current) is about to change.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventRaised when an error occurs while attempting to delete a selected item.  
    Public EventRaised before the delete command is executed to signal that the selected items are about to be deleted.  
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event  
    Public Event  
    Public Event  
    Public Event  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventRaised after the items-source change has completed to notify that the items are loaded and accessible.  
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.Controls.Control)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.Controls.Control)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventRaised when the value of a property changes.  
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventRaised when the delete command has been executed to signal that the selected items have been deleted.  
    Public EventRaised after the selected items have changed.  
    Public EventRaised when the selected items are being changed.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also

    Reference

    DataGridControl Members
    Xceed.Wpf.DataGrid Namespace

    DataGrid Fundamentals

    Providing Data
    DataGridControl_Class.html

    Getting Started

    Migrating_from_Xceed_Grid_for_.NET.html