ComponentOne DataGrid for WPF and Silverlight
DataGridCellPresenter Class
Members 

C1.WPF.DataGrid Namespace : DataGridCellPresenter Class
Represent the visual element of a cell.
Object Model
DataGridCellPresenter Class
Syntax
'Declaration
 
<System.Windows.TemplatePartAttribute(Name="LeftLine", Type=System.Windows.Shapes.Rectangle)>
<System.Windows.TemplatePartAttribute(Name="TopLine", Type=System.Windows.Shapes.Rectangle)>
<System.Windows.TemplatePartAttribute(Name="RightLine", Type=System.Windows.Shapes.Rectangle)>
<System.Windows.TemplatePartAttribute(Name="BottomLine", Type=System.Windows.Shapes.Rectangle)>
<System.Windows.TemplateVisualStateAttribute(Name="Unselected", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Current", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Selected", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="CurrentSelected", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Editing", GroupName="SelectionStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Valid", GroupName="ValidationStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidFocused", GroupName="ValidationStates")>
<System.Windows.TemplateVisualStateAttribute(Name="InvalidUnfocused", GroupName="ValidationStates")>
<System.Windows.TemplateVisualStateAttribute(Name="MouseOver", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")>
<System.Windows.TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<System.Windows.StyleTypedPropertyAttribute(Property="FocusStyle", StyleTargetType=C1.WPF.DataGrid.DataGridFocusPresenter)>
Public Class DataGridCellPresenter 
   Inherits System.Windows.Controls.ContentControl
[System.Windows.TemplatePart(Name="LeftLine", Type=System.Windows.Shapes.Rectangle)]
[System.Windows.TemplatePart(Name="TopLine", Type=System.Windows.Shapes.Rectangle)]
[System.Windows.TemplatePart(Name="RightLine", Type=System.Windows.Shapes.Rectangle)]
[System.Windows.TemplatePart(Name="BottomLine", Type=System.Windows.Shapes.Rectangle)]
[System.Windows.TemplateVisualState(Name="Unselected", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Current", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Selected", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="CurrentSelected", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Editing", GroupName="SelectionStates")]
[System.Windows.TemplateVisualState(Name="Valid", GroupName="ValidationStates")]
[System.Windows.TemplateVisualState(Name="InvalidFocused", GroupName="ValidationStates")]
[System.Windows.TemplateVisualState(Name="InvalidUnfocused", GroupName="ValidationStates")]
[System.Windows.TemplateVisualState(Name="MouseOver", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Disabled", GroupName="CommonStates")]
[System.Windows.TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[System.Windows.StyleTypedProperty(Property="FocusStyle", StyleTargetType=C1.WPF.DataGrid.DataGridFocusPresenter)]
public class DataGridCellPresenter : System.Windows.Controls.ContentControl 
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
                        C1.WPF.DataGrid.DataGridCellPresenter

See Also

Reference

DataGridCellPresenter Members
C1.WPF.DataGrid Namespace