Class DataGridRowHeader
Represents an individual DataGrid row header.
Inheritance
Inherited Members
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.Controls.Data.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(FrameworkElement))]
public class DataGridRowHeader : ContentControl
Constructors
| Improve this Doc View SourceDataGridRowHeader()
Initializes a new instance of the DataGridRowHeader class.
Declaration
public DataGridRowHeader()
Fields
| Improve this Doc View SourceSeparatorBrushProperty
Identifies the SeparatorBrush dependency property.
Declaration
public static readonly DependencyProperty SeparatorBrushProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SeparatorVisibilityProperty
Identifies the SeparatorVisibility dependency property.
Declaration
public static readonly DependencyProperty SeparatorVisibilityProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceSeparatorBrush
Gets or sets the Brush used to paint the row header separator lines.
Declaration
public Brush SeparatorBrush { get; set; }
Property Value
Type | Description |
---|---|
Brush |
SeparatorVisibility
Gets or sets a value indicating whether the row header separator lines are visible.
Declaration
public Visibility SeparatorVisibility { get; set; }
Property Value
Type | Description |
---|---|
Visibility |
Methods
| Improve this Doc View SourceMeasureOverride(Size)
Measures the children of a DataGridRowHeader to prepare for arranging them during the ArrangeOverride(Size) pass.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Size | availableSize | The available size that this element can give to child elements. Indicates an upper limit that child elements should not exceed. |
Returns
Type | Description |
---|---|
Size | The size that the DataGridRowHeader determines it needs during layout, based on its calculations of child object allocated sizes. |
Overrides
| Improve this Doc View SourceOnApplyTemplate()
Builds the visual tree for the row header when a new template is applied.
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnCreateAutomationPeer()
Creates AutomationPeer (OnCreateAutomationPeer())
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
AutomationPeer |