[]
Represents the base class for the formatted text editors.
[TemplateVisualState(Name = "Full", GroupName = "InputStates")]
[TemplateVisualState(Name = "Completed", GroupName = "InputStates")]
[TemplateVisualState(Name = "Empty", GroupName = "InputStates")]
[TemplateVisualState(Name = "Part", GroupName = "InputStates")]
[TemplatePart(Name = "PART_ContentHost", Type = typeof(FieldsPresenter))]
public abstract class FieldsEditorControl : EditBase, IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, ISupportInitialize
<TemplateVisualState(Name:="Full", GroupName:="InputStates")>
<TemplateVisualState(Name:="Completed", GroupName:="InputStates")>
<TemplateVisualState(Name:="Empty", GroupName:="InputStates")>
<TemplateVisualState(Name:="Part", GroupName:="InputStates")>
<TemplatePart(Name:="PART_ContentHost", Type:=GetType(FieldsPresenter))>
Public MustInherit Class FieldsEditorControl
Inherits EditBase
Implements IAnimatable, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, ISupportInitialize
FieldsEditorControl is base class for controls which support field.
FieldsEditorControl has implemented ClipContent to control the copy or cut content including literals or not. Also it supports WatermarkNull and WatermarkDisplayNull.
Name | Description |
---|---|
FieldsEditorControl() |
Name | Description |
---|---|
AllowSpinProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.AllowSpin dependency property. |
ClipContentProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.ClipContent dependency property. |
IsCompletedProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.IsCompleted dependency property. |
IsEmptyProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.IsEmpty dependency property. |
IsFullProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.IsFull dependency property. |
SpinAllowWrapProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.SpinAllowWrap dependency property. |
SpinDownEvent | Identifies the SpinDown routed event. |
SpinIncrementProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.SpinIncrement dependency property. |
SpinUpEvent | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.SpinUp routed event. |
WatermarkDisplayNullForegroundProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.WatermarkDisplayNullForeground dependency property. |
WatermarkDisplayNullProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.WatermarkDisplayNull dependency property. |
WatermarkNullForegroundProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.WatermarkNullForeground dependency property. |
WatermarkNullProperty | Identifies the GrapeCity.Windows.InputMan.Primitives.FieldsEditorControl.WatermarkNull dependency property. |
Name | Description |
---|---|
AllowSpin | Gets or sets a value indicates whether the spin behavior is enabled. |
ClipContent | Gets or sets how data should be copied to the clipboard. This is a dependency property. |
DisplayText | Gets the display text of the control. |
IsCompleted | Gets whether the editor have been input completely. This is a dependency property. |
IsEmpty | Gets whether the editor haven't been input anything, the field is empty. This is a dependency property. |
IsFull | Gets whether the editor have been input fully. This is a dependency property. |
LogicalChildren | Gets the logic children of FieldsEditorControl. |
SpinAllowWrap | Gets or sets whether the spin behavior can wrap when reach max or min limit. |
SpinIncrement | Gets or sets the increment offset of a single spin behavior. |
WatermarkDisplayNull | Gets or sets the watermark display text when the value is null and FieldsEditorControl is not active. |
WatermarkDisplayNullForeground | Gets or sets the foreground of the watermark display text when the WatermarkDisplayNull shows. |
WatermarkNull | Gets or sets the watermark text when the value is null. |
WatermarkNullForeground | Gets or sets the foreground of the watermark text when the value is null. |
Name | Description |
---|---|
DoSpinDown() | Perform spin down. |
DoSpinUp() | Perform spin up. |
OnIsActiveChanged(RoutedEventArgs) | Invoked when an unhandled IsActiveChanged event is raised on this element. Implement this method to add class handling for this event. |
OnMouseDown(MouseButtonEventArgs) | Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. |
OnMouseLeftButtonDown(MouseButtonEventArgs) | Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event. |
OnMouseMove(MouseEventArgs) | Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. |
OnMouseUp(MouseButtonEventArgs) | Invoked when an unhandled System.Windows.Input.Mouse.MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. |
OnSpinDown(RoutedEventArgs) | Invoked when spin down action happened. |
OnSpinUp(RoutedEventArgs) | Invoked when spin up action happened. |
Name | Description |
---|---|
SpinDown | Occurs when spin down. |
SpinUp | Occurs when spin up. |