[]
Represents DateEraField class which displays era for GrapeCity.Windows.InputMan.GcDateTime.
[TemplatePart(Name = "PART_ContentRoot", Type = typeof(Grid))]
public class DateEraField : DateInputField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, IDropDown
<TemplatePart(Name:="PART_ContentRoot", Type:=GetType(Grid))>
Public Class DateEraField
Inherits DateInputField
Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, IDropDown
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 |
ActiveDropDown |
Represents the visual appearance when IsActive and IsDropDownOpen 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 |
|---|---|
| DateEraField() | Initializes a new instance of the DateEraField class. |
| DateEraField(EraPattern) | Initializes a new instance of the DateEraField class. |
| Name | Description |
|---|---|
| AllowDropDownOpenProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateEraField.AllowDropDownOpen dependency property. |
| AutoOpenDropDownProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateEraField.AutoOpenDropDown dependency property. |
| IsDropDownOpenProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateEraField.IsDropDownOpen dependency property. |
| PatternProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateEraField.Pattern dependency property. |
| TextProperty | Identifies the GrapeCity.Windows.InputMan.Fields.DateEraField.Text dependency property. |
| Name | Description |
|---|---|
| AllowDropDownOpen | Gets or sets a bool value indicates whether the dropdown function is active. This is a dependency property. |
| AutoOpenDropDown | Gets or sets a bool value which indicates whether auto drop down when focus come to this field. This is a dependency property. |
| IsDropDownOpen | Gets or sets a bool value indicates whether the dropdown window is showing. This is a dependency property. |
| Pattern | Gets or sets era pattern for the field. This is a dependency property. |
| Text | Gets or sets the text of the field. This is a dependency property. |
| Name | Description |
|---|---|
| OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). |