In This Article

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

Brush:

The object's value.

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

Thickness:

The object's value.

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

ContextMenu:

The object's value.

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

CornerRadius:

The object's value.

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

Double:

The object's value.

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

Brush:

The object's value.

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

DataTemplate:

The object's value.

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

Thickness:

The object's value.

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

Style:

The object's value.

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

Identifies the HeaderBackground dependency property. This field is read-only.

public static readonly DependencyProperty HeaderBackgroundProperty

HeaderBorderBrushProperty

Identifies the HeaderBorderBrush dependency property. This field is read-only.

public static readonly DependencyProperty HeaderBorderBrushProperty

HeaderBorderThicknessProperty

Identifies the HeaderBorderThickness dependency property. This field is read-only.

public static readonly DependencyProperty HeaderBorderThicknessProperty

HeaderContextMenuProperty

Identifies the HeaderContextMenu dependency property. This field is read-only.

public static readonly DependencyProperty HeaderContextMenuProperty

HeaderCornerRadiusProperty

Identifies the HeaderCornerRadius dependency property. This field is read-only.

public static readonly DependencyProperty HeaderCornerRadiusProperty

HeaderFontSizeProperty

Identifies the HeaderFontSize dependency property. This field is read-only.

public static readonly DependencyProperty HeaderFontSizeProperty

HeaderForegroundProperty

Identifies the HeaderForeground dependency property. This field is read-only.

public static readonly DependencyProperty HeaderForegroundProperty

HeaderGlyphTemplateProperty

Identifies the HeaderGlyphTemplate dependency property. This field is read-only.

public static readonly DependencyProperty HeaderGlyphTemplateProperty

HeaderPaddingProperty

Identifies the HeaderPadding dependency property. This field is read-only.

public static readonly DependencyProperty HeaderPaddingProperty

HeaderStyleProperty

Identifies the HeaderStyle dependency property. This field is read-only.

public static readonly DependencyProperty HeaderStyleProperty

Inherited Members