Class DataGridRowGroupHeader
Represents the header of a DataGrid row group.
Inheritance
System.Object
DataGridRowGroupHeader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls
Assembly: OpenSilver.Controls.Data.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Panel))]
[TemplatePart(Name = "RowHeader", Type = typeof(DataGridRowHeader))]
[TemplatePart(Name = "ExpanderButton", Type = typeof(ToggleButton))]
[TemplatePart(Name = "IndentSpacer", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "ItemCountElement", Type = typeof(TextBlock))]
[TemplatePart(Name = "PropertyNameElement", Type = typeof(TextBlock))]
[StyleTypedProperty(Property = "HeaderStyle", StyleTargetType = typeof(DataGridRowHeader))]
public class DataGridRowGroupHeader : Control
Constructors
| Improve this Doc View SourceDataGridRowGroupHeader()
Constructs a DataGridRowGroupHeader
Declaration
public DataGridRowGroupHeader()
Fields
| Improve this Doc View SourceHeaderStyleProperty
Dependency Property for HeaderStyle
Declaration
public static readonly DependencyProperty HeaderStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ItemCountVisibilityProperty
DependencyProperty for ItemCountVisibility
Declaration
public static readonly DependencyProperty ItemCountVisibilityProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PropertyNameProperty
DependencyProperty for PropertyName
Declaration
public static readonly DependencyProperty PropertyNameProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PropertyNameVisibilityProperty
DependencyProperty for PropertyNameVisibility
Declaration
public static readonly DependencyProperty PropertyNameVisibilityProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SublevelIndentProperty
SublevelIndent Dependency property
Declaration
public static readonly DependencyProperty SublevelIndentProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceHeaderStyle
The style applied to the header cell of a DataGridRowGroupHeader.
Declaration
public Style HeaderStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
ItemCountVisibility
Gets or sets a value that indicates whether the item count is visible.
Declaration
public Visibility ItemCountVisibility { get; set; }
Property Value
Type | Description |
---|---|
Visibility |
PropertyName
Gets or sets the name of the property that this DataGrid row is bound to.
Declaration
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PropertyNameVisibility
Gets or sets a value that indicates whether the property name is visible.
Declaration
public Visibility PropertyNameVisibility { get; set; }
Property Value
Type | Description |
---|---|
Visibility |
SublevelIndent
Gets or sets a value that indicates the amount that the children of the System.Windows.Controls.RowGroupHeader are indented.
Declaration
public double SublevelIndent { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Size | finalSize |
Returns
Type | Description |
---|---|
Size |
Overrides
| Improve this Doc View SourceOnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
| Improve this Doc View SourceOnCreateAutomationPeer()
Creates AutomationPeer (OnCreateAutomationPeer())
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
AutomationPeer |
Overrides
| Improve this Doc View SourceOnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | e |
Overrides
| Improve this Doc View SourceOnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | e |