HeaderedControlThemeProperties Class
Provides attached properties for use in controls with headers, such as HeaderedContentControl and HeaderedItemsControl.
public static class HeaderedControlThemeProperties
- Inheritance:
- object object
Methods
GetHeaderBackground(DependencyObject)
Gets the value of the HeaderBackground attached property for the specified object.
public static Brush? GetHeaderBackground(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderBorderBrush(DependencyObject)
Gets the value of the HeaderBorderBrush attached property for the specified object.
public static Brush? GetHeaderBorderBrush(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
- Brush:
The object's value.
GetHeaderBorderThickness(DependencyObject)
Gets the value of the HeaderBorderThickness attached property for the specified object.
public static Thickness GetHeaderBorderThickness(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderContextMenu(DependencyObject)
Gets the value of the HeaderContextMenu attached property for the specified object.
public static ContextMenu? GetHeaderContextMenu(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderCornerRadius(DependencyObject)
Gets the value of the HeaderCornerRadius attached property for the specified object.
public static CornerRadius GetHeaderCornerRadius(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderFontSize(DependencyObject)
Gets the value of the HeaderFontSize attached property for the specified object.
public static double GetHeaderFontSize(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderForeground(DependencyObject)
Gets the value of the HeaderForeground attached property for the specified object.
public static Brush? GetHeaderForeground(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderGlyphTemplate(DependencyObject)
Gets the value of the HeaderGlyphTemplate attached property for the specified object.
public static DataTemplate? GetHeaderGlyphTemplate(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderPadding(DependencyObject)
Gets the value of the HeaderPadding attached property for the specified object.
public static Thickness GetHeaderPadding(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
GetHeaderStyle(DependencyObject)
Gets the value of the HeaderStyle attached property for the specified object.
public static Style? GetHeaderStyle(DependencyObject obj)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object from which the property value is read. |
Returns
SetHeaderBackground(DependencyObject, Brush?)
Sets the value of the HeaderBackground attached property to the specified object.
public static void SetHeaderBackground(DependencyObject obj, Brush? value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Brush | The value to set. |
SetHeaderBorderBrush(DependencyObject, Brush?)
Sets the value of the HeaderBorderBrush attached property to the specified object.
public static void SetHeaderBorderBrush(DependencyObject obj, Brush? value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Brush | The value to set. |
SetHeaderBorderThickness(DependencyObject, Thickness)
Sets the value of the HeaderBorderThickness attached property to the specified object.
public static void SetHeaderBorderThickness(DependencyObject obj, Thickness value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Thickness | The value to set. |
SetHeaderContextMenu(DependencyObject, ContextMenu?)
Sets the value of the HeaderContextMenu attached property to the specified object.
public static void SetHeaderContextMenu(DependencyObject obj, ContextMenu? value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | ContextMenu | The value to set. |
SetHeaderCornerRadius(DependencyObject, CornerRadius)
Sets the value of the HeaderCornerRadius attached property to the specified object.
public static void SetHeaderCornerRadius(DependencyObject obj, CornerRadius value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | CornerRadius | The value to set. |
SetHeaderFontSize(DependencyObject, double)
Sets the value of the HeaderFontSize attached property to the specified object.
public static void SetHeaderFontSize(DependencyObject obj, double value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | double | The value to set. |
SetHeaderForeground(DependencyObject, Brush?)
Sets the value of the HeaderForeground attached property to the specified object.
public static void SetHeaderForeground(DependencyObject obj, Brush? value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Brush | The value to set. |
SetHeaderGlyphTemplate(DependencyObject, DataTemplate?)
Sets the value of the HeaderGlyphTemplate attached property to the specified object.
public static void SetHeaderGlyphTemplate(DependencyObject obj, DataTemplate? value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | DataTemplate | The value to set. |
SetHeaderPadding(DependencyObject, Thickness)
Sets the value of the HeaderPadding attached property to the specified object.
public static void SetHeaderPadding(DependencyObject obj, Thickness value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Thickness | The value to set. |
SetHeaderStyle(DependencyObject, Style?)
Sets the value of the HeaderStyle attached property to the specified object.
public static void SetHeaderStyle(DependencyObject obj, Style? value)
| Parameter | Type | Description |
|---|---|---|
| obj | DependencyObject | The object to which the attached property is written. |
| value | Style | The value to set. |
Fields
HeaderBackgroundProperty
Defines the HeaderBackground property.
public static readonly DependencyProperty HeaderBackgroundProperty
HeaderBorderBrushProperty
Defines the HeaderBorderBrush property.
public static readonly DependencyProperty HeaderBorderBrushProperty
HeaderBorderThicknessProperty
Defines the HeaderBorderThickness property.
public static readonly DependencyProperty HeaderBorderThicknessProperty
HeaderContextMenuProperty
Defines the HeaderContextMenu property.
public static readonly DependencyProperty HeaderContextMenuProperty
HeaderCornerRadiusProperty
Defines the HeaderCornerRadius property.
public static readonly DependencyProperty HeaderCornerRadiusProperty
HeaderFontSizeProperty
Defines the HeaderFontSize property.
public static readonly DependencyProperty HeaderFontSizeProperty
HeaderForegroundProperty
Defines the HeaderForeground property.
public static readonly DependencyProperty HeaderForegroundProperty
HeaderGlyphTemplateProperty
Defines the HeaderGlyphTemplate property.
public static readonly DependencyProperty HeaderGlyphTemplateProperty
HeaderPaddingProperty
Defines the HeaderPadding property.
public static readonly DependencyProperty HeaderPaddingProperty
HeaderStyleProperty
Defines the HeaderStyle property.
public static readonly DependencyProperty HeaderStyleProperty