In This Article

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 DecimalPropertyEditor DoublePropertyEditor EnumPropertyEditor GuidPropertyEditor Int16PropertyEditor Int32PropertyEditor Int32RectPropertyEditor Int64PropertyEditor PointPropertyEditor RectPropertyEditor SinglePropertyEditor SizePropertyEditor ThicknessPropertyEditor TimeSpanPropertyEditor VectorPropertyEditor

Constructors

PartEditBoxPropertyEditorBase(Type)

Represents the abstract base class for a PropertyEditor that uses a part edit box.

protected PartEditBoxPropertyEditorBase(Type propertyType)
Parameter Type Description
propertyType Type

The type of the property.

Properties

BorderThickness

The border thickness.

public Thickness BorderThickness { get; set; }

Property Value

Thickness:

The default value is 0.

CommitTriggers

The triggers that will force this control to commit any changes.

public PartEditBoxCommitTriggers CommitTriggers { get; set; }

Property Value

PartEditBoxCommitTriggers:

The default value is Default.

HasPopup

Indicates whether the control has a popup available.

public bool HasPopup { get; set; }

Property Value

bool:

true if the control has a popup available; otherwise false. The default value is true.

IsArrowKeyPartNavigationEnabled

Indicates 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; otherwise false. The default value is true.

IsEditable

Indicates 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; otherwise false. The default value is true.

Remarks

When false, the edit box behaves more like a ComboBox.

IsNullAllowed

Indicates 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; otherwise false. The default value is false.

IsUndoEnabled

Indicates 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 is true.

PlaceholderText

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

SpinWrapping

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 default value is NoWrap.

SpinnerVisibility

Indicates if and when the control has a spinner available.

public SpinnerVisibility SpinnerVisibility { get; set; }

Property Value

SpinnerVisibility:

The default value is Collapsed.

TextAlignment

The text alignment of the text editing area.

public TextAlignment TextAlignment { get; set; }

Property Value

TextAlignment:

The default value is Left.

Inherited Members

Extension Methods