[]
Represents GrapeCity.Windows.InputMan.Fields.MaskEnumerationField class which contains an enumeration for GrapeCity.Windows.InputMan.GcMask.
[TemplatePart(Name = "PART_ContentRoot", Type = typeof(Grid))]
public sealed class MaskEnumerationField : MaskField, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, INotifyPropertyChanged, IDropDown
<TemplatePart(Name:="PART_ContentRoot", Type:=GetType(Grid))>
Public NotInheritable Class MaskEnumerationField
Inherits MaskField
Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, ISupportInitialize, ISpinable, INotifyPropertyChanged, 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 control has focus. |
ValidationStates |
InvalidUnfocused |
Represents the visual appearance when System.Windows.Controls.Validation.GetHasError(System.Windows.DependencyObject) returns true and control has no focus. |
Name | Description |
---|---|
MaskEnumerationField() | Initializes a new instance of the MaskEnumerationField class. |
MaskEnumerationField(string[]) | Initializes a new instance of the MaskEnumerationField class. |
Name | Description |
---|---|
AllowDropDownOpenProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.AllowDropDownOpen dependency property. |
AutoConvertProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.AutoConvert dependency property. |
AutoOpenDropDownProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.AutoOpenDropDown dependency property. |
IsDropDownOpenProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.IsDropDownOpen dependency property. |
ItemsProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.Items dependency property. |
PromptCharProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.PromptChar dependency property. |
SpinIncrementProperty | Identifies the GrapeCity.Windows.InputMan.Fields.MaskEnumerationField.SpinIncrement dependency property. |
Name | Description |
---|---|
AllowDropDownOpen | Gets or sets a bool value indicates whether the dropdown function is active. This is a dependency property. |
AutoConvert | Gets or sets a value indicating whether try to convert the given value to items when they aren't match. This is a dependency property. |
AutoOpenDropDown | Gets or sets a bool value which indicates whether auto drop down when current field is activated. This is a dependency property. |
IsDropDownOpen | Gets or sets a bool value indicates whether the dropdown window is showing. This is a dependency property. |
Items | Gets or sets the items of MaskEnumerationField. This is a dependency property. |
PromptChar | Gets or sets the prompt char of the field. This is a dependency property. |
SpinIncrement | Gets or sets the spin increment. This is a dependency property. |
Name | Description |
---|---|
Activate() | Attempts to activate current field and put caret to default caret position. |
DoSpinDown() | Process the spin down behavior. |
DoSpinDown(int) | Perform spin down with the specified increment. |
DoSpinUp() | Process the spin up behavior. |
DoSpinUp(int) | Perform spin up with the specified increment. |
EndInit() | Indicates that the initialization process for the element is complete. |
OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate(). |