[]
Represents GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField class which displays short hour for GrapeCity.Windows.InputMan.GcDateTime when it is not active.
public class DateShortHourDisplayField : DateInputDisplayField, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Public Class DateShortHourDisplayField
Inherits DateInputDisplayField
Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Supported VisualState list:
VisualStateGroup Name |
VisualState Name |
Description |
---|---|---|
CommonStates |
Normal |
Represents the visual appearance when control is in normal state. |
CommonStates |
Disabled |
|
CommonStates |
MouseOver |
Represents the visual appearance when IsMouseOver is true. |
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 |
---|---|
DateShortHourDisplayField() | Initializes a new instance of the DateShortHourDisplayField class. |
DateShortHourDisplayField(bool) | Initializes a new instance of the DateShortHourDisplayField class. |
DateShortHourDisplayField(bool, Hour12Mode) | Initializes a new instance of the DateShortHourDisplayField class. |
Name | Description |
---|---|
Hour12ModeProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField.Hour12Mode dependency property. |
ShowLeadingZeroProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField.ShowLeadingZero dependency property. |
Name | Description |
---|---|
Hour12Mode | Gets or sets a value indicating show hour 0 and hour12 both to 0 or 12. This is a dependency property. |
ShowLeadingZero | Gets or sets a value indicating whether GrapeCity.Windows.InputMan.Fields.DateShortHourDisplayField displays leading zero. This is a dependency property. |