[]
Represents a WeekTitle control for GrapeCity.Windows.InputMan.Primitives.WeekTitleInfo presentation. It represents the day of week.
[TemplatePart(Name = "PART_Content", Type = typeof(FrameworkElement))]
public sealed class WeekTitle : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
<TemplatePart(Name:="PART_Content", Type:=GetType(FrameworkElement))>
Public NotInheritable Class WeekTitle
Inherits Button
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource
The WeekTitle offered a WeekTitleInfo property to deliver more information about the day of week which it represents. It is set to the Content property, and you could also customizing the data presentation via ContentTemplate.
Supported VisualState list:
VisualStateGroup Name | VisualState Name | Description |
---|---|---|
CommonStates | Normal | Represents the visual appearance when control is in normal state. |
CommonStates | Disabled | |
CommonStates | Pressed | |
CommonStates | MouseOver | Represents the visual appearance when IsMouseOver is true. |
FocusStates | Focused | Represents the visual appearance when IsKeyboardFocused is true. |
FocusStates | Unfocused | Represents the visual appearance when IsKeyboardFocused is false. |
ValidationStates | Valid | Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns false. |
ValidationStates | InvalidFocused | Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and IsKeyboardFocused is true. |
ValidationStates | InvalidUnfocused | Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and IsKeyboardFocused is false. |
Name | Description |
---|---|
WeekTitle() | Initializes a new instance of the WeekTitle class. |
Name | Description |
---|---|
WeekTitleInfoProperty | Identifies the WeekTitleInfo dependency property. |
Name | Description |
---|---|
WeekTitleInfo | Gets the GrapeCity.Windows.InputMan.Primitives.WeekTitleInfo which contains the advanced information of the WeekTitle represents. This is a dependency property. |
Name | Description |
---|---|
OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). |