In This Article

ExtendedStringPropertyEditor Class

Represents a PropertyEditor for editing a String value (or Object value via ValueAsString) with a TextBox and ... (ellipses) button.

public class ExtendedStringPropertyEditor : PropertyEditor
Inheritance:
object ObservableObjectBase PropertyEditor object

Constructors

ExtendedStringPropertyEditor()

Represents a PropertyEditor for editing a String value (or Object value via ValueAsString) with a TextBox and ... (ellipses) button.

public ExtendedStringPropertyEditor()

Properties

Behavior

The read-only/enabled state behavior of controls within a template for this property editor.

public ExtendedStringPropertyEditorBehavior Behavior { get; set; }

Property Value

ExtendedStringPropertyEditorBehavior:

The default value is Default.

ButtonCommand

The ICommand to use on the button in the template.

public ICommand? ButtonCommand { get; set; }

Property Value

ICommand

Methods

GetIsReadOnly(IPropertyModel)

Returns whether the specified IPropertyModel should be optionally forced read-only or not, directly affecting the IsReadOnly result.

protected override bool? GetIsReadOnly(IPropertyModel propertyModel)
Parameter Type Description
propertyModel IPropertyModel

The IPropertyModel to examine.

Returns

bool?:

true if the property model should be read-only. false if the property model should not be read-only. null to allow default logic for determining read-only state to execute.

Remarks

Do not call IsReadOnly from within this method, since the getter for that property calls into this method as part of its default logic.

Inherited Members

Extension Methods