DataGridRowGroupHeader Class

Definition

Represents the header of a DataGrid row group.

[Windows.UI.Xaml.StyleTypedProperty(Property="HeaderStyle", StyleTargetType=typeof(Microsoft.Toolkit.Uwp.UI.Controls.Primitives.DataGridRowHeader))]
[Windows.UI.Xaml.TemplatePart(Name="RowRoot", Type=typeof(Windows.UI.Xaml.Controls.Panel))]
[Windows.UI.Xaml.TemplatePart(Name="RowHeader", Type=typeof(Microsoft.Toolkit.Uwp.UI.Controls.Primitives.DataGridRowHeader))]
[Windows.UI.Xaml.TemplatePart(Name="BottomGridLine", Type=typeof(Windows.UI.Xaml.Shapes.Rectangle))]
[Windows.UI.Xaml.TemplatePart(Name="ExpanderButton", Type=typeof(Windows.UI.Xaml.Controls.Primitives.ToggleButton))]
[Windows.UI.Xaml.TemplatePart(Name="IndentSpacer", Type=typeof(Windows.UI.Xaml.FrameworkElement))]
[Windows.UI.Xaml.TemplatePart(Name="ItemCountElement", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
[Windows.UI.Xaml.TemplatePart(Name="PropertyNameElement", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
[Windows.UI.Xaml.TemplatePart(Name="PropertyValueElement", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))]
public class DataGridRowGroupHeader : Windows.UI.Xaml.Controls.Control
[<Windows.UI.Xaml.StyleTypedProperty(Property="HeaderStyle", StyleTargetType=typeof(Microsoft.Toolkit.Uwp.UI.Controls.Primitives.DataGridRowHeader))>]
[<Windows.UI.Xaml.TemplatePart(Name="RowRoot", Type=typeof(Windows.UI.Xaml.Controls.Panel))>]
[<Windows.UI.Xaml.TemplatePart(Name="RowHeader", Type=typeof(Microsoft.Toolkit.Uwp.UI.Controls.Primitives.DataGridRowHeader))>]
[<Windows.UI.Xaml.TemplatePart(Name="BottomGridLine", Type=typeof(Windows.UI.Xaml.Shapes.Rectangle))>]
[<Windows.UI.Xaml.TemplatePart(Name="ExpanderButton", Type=typeof(Windows.UI.Xaml.Controls.Primitives.ToggleButton))>]
[<Windows.UI.Xaml.TemplatePart(Name="IndentSpacer", Type=typeof(Windows.UI.Xaml.FrameworkElement))>]
[<Windows.UI.Xaml.TemplatePart(Name="ItemCountElement", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
[<Windows.UI.Xaml.TemplatePart(Name="PropertyNameElement", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
[<Windows.UI.Xaml.TemplatePart(Name="PropertyValueElement", Type=typeof(Windows.UI.Xaml.Controls.TextBlock))>]
type DataGridRowGroupHeader = class
    inherit Control
Public Class DataGridRowGroupHeader
Inherits Control
Inheritance
Windows.UI.Xaml.Controls.Control
DataGridRowGroupHeader
Attributes
Windows.UI.Xaml.StyleTypedPropertyAttribute Windows.UI.Xaml.TemplatePartAttribute

Constructors

DataGridRowGroupHeader()

Initializes a new instance of the DataGridRowGroupHeader class.

Fields

HeaderStyleProperty

Dependency Property for HeaderStyle

ItemCountVisibilityProperty

DependencyProperty for ItemCountVisibility

LevelProperty

Identifies the Level dependency property.

PropertyNameProperty

DependencyProperty for PropertyName

PropertyNameVisibilityProperty

DependencyProperty for PropertyNameVisibility

PropertyValueProperty

DependencyProperty for PropertyName

SublevelIndentProperty

SublevelIndent Dependency property

Properties

CollectionViewGroup

Gets the ICollectionViewGroup implementation associated with this DataGridRowGroupHeader.

HeaderStyle

Gets or sets the style applied to the header cell of a DataGridRowGroupHeader.

ItemCountVisibility

Gets or sets a value that indicates whether the item count is visible.

Level

Gets the nesting level of the associated group.

PropertyName

Gets or sets the name of the property that this DataGrid row is bound to.

PropertyNameVisibility

Gets or sets a value that indicates whether the property name is visible.

PropertyValue

Gets or sets the value of the property that this DataGrid row is bound to.

SublevelIndent

Gets or sets a value that indicates the amount that the children of the DataGridRowGroupHeader are indented.

Methods

ArrangeOverride(Size)

ArrangeOverride

OnApplyTemplate()

Builds the visual tree for the row group header when a new template is applied.

OnCreateAutomationPeer()

Creates AutomationPeer (Windows.UI.Xaml.UIElement.OnCreateAutomationPeer)

Applies to