[]
Represents GrapeCity.Windows.InputMan.Fields.DateYearDisplayField class which displays year for GrapeCity.Windows.InputMan.GcDateTime when it is not active.
public class DateYearDisplayField : DateInputDisplayField, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
Public Class DateYearDisplayField
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 |
---|---|
DateYearDisplayField() | Initializes a new instance of the DateYearDisplayField class. |
DateYearDisplayField(bool) | Initializes a new instance of the DateYearDisplayField class. |
DateYearDisplayField(bool, YearDigitType) | Initializes a new instance of the DateYearDisplayField class. |
Name | Description |
---|---|
ShowLeadingZeroProperty | Identifies the ShowLeadingZero dependency property. |
YearDigitProperty | Identifies the YearDigit dependency property. |
Name | Description |
---|---|
ShowLeadingZero | Gets or sets a value indicating whether GrapeCity.Windows.InputMan.Fields.DateYearDisplayField displays leading zero. This is a dependency property. |
YearDigit | Gets or sets the year digit of GrapeCity.Windows.InputMan.Fields.DateYearDisplayField. This is a dependency property. |