Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataCell Class
Members Example


In This Topic
    DataCell Class
    In This Topic
    Specialization of the Cell class that represents a cell contained in a DataRow.
    Syntax
    'Declaration
     
    <TemplatePartAttribute(Name="PART_CellContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
    <DefaultPropertyAttribute("Content")>
    <ContentPropertyAttribute("Content")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class DataCell 
       Inherits Cell
    'Usage
     
    Dim instance As DataCell
    [TemplatePart(Name="PART_CellContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
    [DefaultProperty("Content")]
    [ContentProperty("Content")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class DataCell : Cell 
    Example
    All examples in this topic assume that the grid is bound to the Orders table of the Northwind database, unless stated otherwise.
    The following example demonstrates how to change the foreground and background of the current cell.The following example demonstrates how to provide, through a style, a new ControlTemplate for the DataCells that will display the cells as buttons.The following example demonstrates how to provide a new style that will change the foreground color of a cell when its value fails the validation process. It uses the ShippingCostValidationRule custom validation rule defined in the previous example.
    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
      <Grid.Resources>
    
        <Style TargetType="{x:Type xcdg:DataCell}">
          <Setter Property="CurrentForeground">
            <Setter.Value>
              <SolidColorBrush Color="Yellow"/>
            </Setter.Value>
            </Setter>
              <Setter Property="CurrentBackground">
                <Setter.Value>
              <SolidColorBrush Color="Orange"/>
            </Setter.Value>
          </Setter>
        </Style>
        <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>
    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid">
      <Grid.Resources>
        <Style TargetType="{x:Type xcdg:DataCell}">
          <Setter Property="Template">
            <Setter.Value>
              <ControlTemplate TargetType="{x:Type xcdg:DataCell}">
                <Button>
                  <Button.Content>
                    <ContentPresenter/>
                  </Button.Content>
                </Button>
              </ControlTemplate>
            </Setter.Value>
          </Setter>
        </Style>
        <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>
    <Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"
          xmlns:local="clr-namespace:Xceed.Wpf.Documentation"> 
      <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}}">
          <xcdg:DataGridControl.Resources>
    
            <Style x:Key="cell_error" TargetType="{x:Type xcdg:DataCell}">
               <Setter Property="Foreground" Value="Red"/>
            </Style>
          </xcdg:DataGridControl.Resources>      
    
          <xcdg:DataGridControl.Columns>
            <xcdg:Column FieldName="Freight" CellErrorStyle="{StaticResource cell_error}">
               <xcdg:Column.CellValidationRules>
                  <local:ShippingCostValidationRule/>
               </xcdg:Column.CellValidationRules>
            </xcdg:Column>
          </xcdg:DataGridControl.Columns>
       </xcdg:DataGridControl>
    </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.ContentControl
                            Xceed.Wpf.DataGrid.Cell
                               Xceed.Wpf.DataGrid.DataCell
                                  Xceed.Wpf.DataGrid.InsertionCell

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    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.UIElement)
    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 the style that will be used by the cell when its content fails the validation process. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets the list of CellValidationRules against which a cell's content is validated before the cell exists edit mode. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets the template that is currently being used. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.Controls.ContentControl)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the brush that will be used to paint the cell's background when the cell becomes current. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets or sets the brush that will be used to paint the cell's foreground when the cell becomes current. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    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.UIElement)
    Public PropertyGets or sets the field name of the parent column. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 Property (Inherited from System.Windows.UIElement)
    Public PropertyGets a value indicating whether the cell's content failed the validation process. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 brush that will be used to paint the cell's background when the cell is selected but inactive. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets or sets the brush that will be used to paint the cell's foreground when the cell is selected but inactive. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 the cell is being edited. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets a value indicating whether the cell's editor is displayed. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets a value indicating whether the cell is the current cell. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets if the cell is the currently selected cell for the SearchControl. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets a value indicating whether the content of the cell has been modified since it entered edit mode. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets if the cell's content is a valid search match for the SearchControl's current search value. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets a value indicating whether the cell is selected. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 PropertyGets a value indicating whether the validation rule that failed prevents the focus from moving to another row until the error is fixed. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Property (Inherited from System.Windows.UIElement)
    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 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 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 Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets the Cell's parent Column. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets the Cell's parent Row. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets or sets a value indicating whether the cell is readonly. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 PropertyGets or sets the brush that will be used to paint the cell's background when the cell is selected and active. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public PropertyGets or sets the brush that will be used to paint the cell's foreground when the cell is selected and active (Inherited from Xceed.Wpf.DataGrid.Cell)
    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.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 Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets information about the validation rule that failed the validation process. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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)
    Top
    Protected Properties
     NameDescription
    Protected Internal PropertyOverridden. When overridden in a derived class, gets a value indicating whether the cell can be recycled.  
    Protected Internal Property (Inherited from System.Windows.FrameworkElement)
    Protected Internal Property (Inherited from System.Windows.Controls.Control)
    Protected Internal Property

    When overridden in a derived class, gets a value indicating whether the Content property is currently the target of a binding.

    (Inherited from Xceed.Wpf.DataGrid.Cell)
    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.ContentControl)
    Protected PropertyOverridden. Gets a value indicating whether the cell inherits the template provided by the parent column's CellContentTemplate property.  
    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 Method (Inherited from System.Windows.UIElement)
    Public MethodOverloaded.  (Inherited from System.Windows.UIElement)
    Public MethodSignals the beginning of the edit process and places the cell in edit mode. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.FrameworkElement)
    Public MethodCancels the edit process. Any modifications made to the cell's content will be lost. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 MethodSignals the end of the edit process. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    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 MethodRetrieves the fitted width of the cell, in device-independent units (1/96th inch per unit). (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    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 Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public MethodBuilds the visual tree for the element.On (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 Method (Inherited from System.Windows.FrameworkElement)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public MethodReturns the string representation of this Cell instance. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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.ContentControl)
    Protected Internal MethodWhen overridden in a derived class, adds a binding on the Content of the cell. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Internal Method (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Internal MethodOverridden. Clears the content of the cell.  
    Protected MethodRetrieves the cell editor that is used, or that will be used, to edit the content of the cell. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 Internal MethodInitializes the cell specifying its parent DataGridControl, Row, and Column. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected MethodOverridden. Called after the Initialize method to allow custom initialization.  
    Protected Internal Method (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.Controls.ContentControl)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverridden. Creates an appropriate AutomationPeer for this instance.  
    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 MethodRaises the EditBeginning event, which signals that the edit process is about to begin. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected MethodRaises the EditBegun event, which signals that the edit process has begun. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected MethodRaises the EditCanceled event, which signals that the edit process has been canceled. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected MethodRaises the EditCanceling event, which signals that the edit process is being canceled. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected MethodRaises the EditEnded event, which signals that the edit process has ended. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected MethodRaises the EditEnding event, which signals that the edit process is about to end. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    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.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 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.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Protected MethodInvoked when an unhandled MouseLeftButtonDown attached event reaches this element in its route. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 MethodInvoked when an unhandled PreviewKeyDown attached event reaches this element in its route. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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 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 Method (Inherited from System.Windows.UIElement)
    Protected MethodInvoked when an unhandled PreviewTextInput attached event reaches this element in its route. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodOverloaded. Overridden. Raises the PropertyChanged event.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected MethodInvoked whenever a WeakEventManager delivers the event being managed by the class. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    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 Method (Inherited from System.Windows.UIElement)
    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 MethodInvoked when an unhandled ValidationErrorChanging attached event reaches this element in its route. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Internal Method (Inherited from System.Windows.Media.Visual)
    Protected Method (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Internal MethodOverridden.   
    Protected Internal MethodConcludes the initialization of the cell. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Internal MethodOverridden. Prepares a container in the specified DataGridContext for the item.  
    Protected Internal MethodOverridden. When deriving from the DataCell class, PrepareDefaultStyleKey must be overridden in order to support dynamic style (view or theme modifications) changes.  
    Protected Internal MethodWhen overridden in a derived class, removes the binding on the Content of the cell. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Protected Internal Method (Inherited from System.Windows.FrameworkElement)
    Protected Method (Inherited from System.Windows.Media.Visual)
    Protected Internal Method (Inherited from System.Windows.DependencyObject)
    Top
    Extension Methods
     NameDescription
    Public Extension MethodOverloaded. 
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.Windows.FrameworkElement)
    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 EventRaised when the BeginEdit method has been called to signal that the edit process is about to begin. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public EventRaised after the EditBeginning event to signal that the edit process has begun. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public EventRaised after the EditCanceling event to signal that the edit process has been canceled. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public EventRaised when the CancelEdit method has been called to signal that the edit process is being canceled. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public EventRaised after the EditEnding event to signal that the edit process has ended. (Inherited from Xceed.Wpf.DataGrid.Cell)
    Public EventRaised when the EndEdit method has been called to signal that the edit process is about to end. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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.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.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 is changed. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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.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.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)
    Public EventRaised when the value of the ValidationError property is about to change. (Inherited from Xceed.Wpf.DataGrid.Cell)
    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