[]
Provides the base implementation for all controls that contain single content and have a header.
[TemplatePart(Name = "HeaderPresenter", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1HeaderedContentControl : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Name | Description |
---|---|
C1HeaderedContentControl() | Initializes a new instance of a C1HeaderedContentControl. |
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. |
Name | Description |
---|---|
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. |
VerticalHeaderAlignment | Gets or sets the VerticalContentAlignment of the header. |
Name | Description |
---|---|
ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
OnApplyTemplate() | Builds the visual tree for the C1HeaderedContentControl control when a new template is applied. |
OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
Name | Description |
---|---|
IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |