[]
Represents DateAmPmField class which displays AM/PM string based on the value of GrapeCity.Windows.InputMan.GcDateTime.
public class DateAmPmField : DateInputField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable
Public Class DateAmPmField
Inherits DateInputField
Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable
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. |
ActiveStates |
Active |
|
ActiveStates |
Inactive |
|
InputStates |
Full |
|
InputStates |
Completed |
Represents the visual appearance when IsCompleted is true. |
InputStates |
Empty |
|
InputStates |
Part |
Represents the visual appearance when IsFull, IsCompleted and IsEmpty all are 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 |
---|---|
DateAmPmField() | Initializes a new instance of the DateAmPmField class. |
DateAmPmField(AmPmPattern) | Initializes a new instance of the DateAmPmField class. |
DateAmPmField(AmPmPattern, string, string) | Initializes a new instance of the DateAmPmField class. |
Name | Description |
---|---|
AMDesignatorProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateAmPmField.AMDesignator dependency property. |
PMDesignatorProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateAmPmField.PMDesignator dependency property. |
PatternProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateAmPmField.Pattern dependency property. |
TextProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateAmPmField.Text dependency property. |
Name | Description |
---|---|
AMDesignator | Gets or sets the designator of AM. This is a dependency property. |
PMDesignator | Gets or sets the designator of PM. This is a dependency property. |
Pattern | Gets or sets a value indicating how to show AMDesignator and PMDesignator. This is a dependency property. |
Text | Gets or sets the text of the field. This is a dependency property. |