PartEditBoxPropertyEditorBase Class
Represents the abstract base class for a PropertyEditor that uses a part edit box.
public abstract class PartEditBoxPropertyEditorBase : PropertyEditorBase
- Inheritance:
- object ObservableObjectBase PropertyEditor PropertyEditorBase object
- Derived:
- BrushPropertyEditor BytePropertyEditor ColorPropertyEditor CornerRadiusPropertyEditor DateTimePropertyEditor DoublePropertyEditor EnumPropertyEditor GuidPropertyEditor Int16PropertyEditor Int32PropertyEditor Int32RectPropertyEditor Int64PropertyEditor PointPropertyEditor RectPropertyEditor SinglePropertyEditor SizePropertyEditor ThicknessPropertyEditor TimeSpanPropertyEditor VectorPropertyEditor
Constructors
PartEditBoxPropertyEditorBase(Type)
Initializes an instance of the PartEditBoxPropertyEditorBase
class.
protected PartEditBoxPropertyEditorBase(Type propertyType)
Parameter | Type | Description |
---|---|---|
propertyType | Type | The type of the property. |
Properties
BorderThickness
Gets or sets the border thickness.
public Thickness BorderThickness { get; set; }
Property Value
- Thickness:
The border thickness. The default value is
0
.
CommitTriggers
Gets or sets the triggers that will force this control to commit any changes.
public PartEditBoxCommitTriggers CommitTriggers { get; set; }
Property Value
- PartEditBoxCommitTriggers:
A PartEditBoxCommitTriggers indicating the triggers that will force this control to commit any changes. The default value is
PartEditBoxCommitTriggers.Default
.
HasPopup
Gets or sets a value indicating whether the control has a popup available.
public bool HasPopup { get; set; }
Property Value
- bool:
true
if the control has a popup available; otherwisefalse
. The default value istrue
.
IsArrowKeyPartNavigationEnabled
Gets or sets a value indicating whether the left/right arrow keys can be used to move between and select editable parts.
public bool IsArrowKeyPartNavigationEnabled { get; set; }
Property Value
- bool:
true
if the left/right arrow keys can be used to move between and select editable parts; otherwisefalse
. The default value istrue
.
IsEditable
Gets or sets a value indicating whether the edit box's text area is editable.
public bool IsEditable { get; set; }
Property Value
- bool:
true
if the edit box's text area is editable; otherwisefalse
. The default value istrue
.
Remarks
When false
, the edit box behaves more like a ComboBox
.
IsNullAllowed
Gets or sets a value indicating whether null values are allowed to be entered by the user.
public bool IsNullAllowed { get; set; }
Property Value
- bool:
true
if null values are allowed to be entered by the user; otherwisefalse
. The default value isfalse
.
IsUndoEnabled
Gets or sets whether undo/redo support is enabled for the text-editing portion of the control.
public bool IsUndoEnabled { get; set; }
Property Value
- bool:
true
if undo/redo support is enabled for the text-editing portion of the control. The default value istrue
.
PlaceholderText
Gets or sets the text that is displayed in the control until the value is changed by a user action or some other operation.
public string PlaceholderText { get; set; }
Property Value
- string:
The text that is displayed in the control until the value is changed by a user action or some other operation.
SpinWrapping
Gets or sets the wrapping behavior used when spinning past a minimum or maximum value in the active part.
public SpinWrapping SpinWrapping { get; set; }
Property Value
- SpinWrapping:
The wrapping behavior used when spinning past a minimum or maximum value in the active part. The default value is
SpinWrapping.NoWrap
.
SpinnerVisibility
Gets or sets a value indicating if and when the control has a spinner available.
public SpinnerVisibility SpinnerVisibility { get; set; }
Property Value
- SpinnerVisibility:
A value indicating if and when the control has a spinner available. The default value is
SpinnerVisibility.Collapsed
.
TextAlignment
Gets or sets the text alignment of the text editing area.
public TextAlignment TextAlignment { get; set; }
Property Value
- TextAlignment:
The text alignment of the text editing area. The default value is
TextAlignment.Left
.
Inherited Members
- PropertyEditorBase.CreateValueTemplate()
- PropertyEditorBase.PredefinedValueTemplateKey
- PropertyEditorBase.ValueTemplate
- PropertyEditor.GetIsReadOnly(IPropertyModel)
- PropertyEditor.NameTemplate
- PropertyEditor.NameTemplateKey
- PropertyEditor.NameTemplateSelector
- PropertyEditor.ObjectType
- PropertyEditor.PropertyName
- PropertyEditor.PropertyType
- PropertyEditor.ValueTemplateKey
- PropertyEditor.ValueTemplateKind
- PropertyEditor.ValueTemplateSelector
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()