[]
        
(Showing Draft Content)

C1.WinUI.Core.C1HeaderedContentControl

C1HeaderedContentControl Class

Provides the base implementation for all controls that contain single content and have a header.

Inheritance
C1HeaderedContentControl
Implements
Namespace: C1.WinUI.Core
Assembly: C1.WinUI.Core.dll
Syntax
public class C1HeaderedContentControl : ContentControl, IDisposable

Constructors

Name Description
C1HeaderedContentControl()

Initializes a new instance of the C1HeaderedContentControl class.

Fields

Name Description
HeaderBackgroundProperty

Identifies the HeaderBackground dependency property.

HeaderFontFamilyProperty

Identifies the HeaderFontFamily dependency property.

HeaderFontSizeProperty

Identifies the HeaderFontSize dependency property.

HeaderFontStretchProperty

Identifies the HeaderFontStretch dependency property.

HeaderFontStyleProperty

Identifies the HeaderFontStyle dependency property.

HeaderFontWeightProperty

Identifies the HeaderFontWeight dependency property.

HeaderForegroundProperty

Identifies the HeaderForeground dependency property.

HeaderPaddingProperty

Identifies the HeaderPadding dependency property.

HeaderProperty

Identifies the Header dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

HorizontalHeaderAlignmentProperty

Identifies the HorizontalHeaderAlignment dependency property.

VerticalHeaderAlignmentProperty

Identifies the VerticalHeaderAlignment dependency property.

Properties

Name Description
ActualHeaderForeground

Returns the Microsoft.UI.Xaml.Media.Brush object to use as HeaderForeground inside control template.

Header

Gets or sets the header of this control.

HeaderBackground

Gets or sets the background brush of the header.

HeaderFontFamily

Gets or sets the font family of the header.

HeaderFontSize

Gets or sets the font size of the header.

HeaderFontStretch

Gets or sets the font stretch of the header.

HeaderFontStyle

Gets or sets the font style of the header.

HeaderFontWeight

Gets or sets the font weight of the header.

HeaderForeground

Gets or sets the foreground brush of the header.

HeaderPadding

Gets or sets the padding of the header.

HeaderTemplate

Gets or sets the data template used to display the header.

HorizontalHeaderAlignment

Gets or sets the HorizontalContentAlignment of the header.

IsDisposed

Gets whether this instance is disposed.

IsFocused

Gets whether the control is focused.

IsMouseOver

Gets whether the mouse is over the control.

VerticalHeaderAlignment

Gets or sets the VerticalHeaderAlignment of the header.

Methods

Name Description
ChangeVisualStateCommon(bool)

Updates the current visual state of the Common visual state group to match the object's properties.

Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1HeaderedContentControl class.

OnApplyTemplate()