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.
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?:
trueif the property model should be read-only.falseif the property model should not be read-only.nullto 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
- PropertyEditor.NameTemplate
- PropertyEditor.NameTemplateKey
- PropertyEditor.NameTemplateSelector
- PropertyEditor.ObjectType
- PropertyEditor.PropertyName
- PropertyEditor.PropertyType
- PropertyEditor.ValueTemplate
- PropertyEditor.ValueTemplateKey
- PropertyEditor.ValueTemplateKind
- PropertyEditor.ValueTemplateSelector
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()