-
Notifications
You must be signed in to change notification settings - Fork 3
PropertyList.PropertyEditorValueChangedEventArgs
Back to home | Back to Reference | View raw text
The event arguments for the PropertyEditorValueChanged event, which takes place when the value of a property is changed using a property editor control.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi.PropertyList
SolidShineUi.PropertyList.PropertyEditorValueChangedEventArgs[[PropertyEditorValueChangedEventArgs]]
SolidShineUi.PropertyList.PropertyValueChangedEventArgs[[PropertyValueChangedEventArgs]]
end
SolidShineUi.PropertyList.PropertyValueChangedEventArgs --> SolidShineUi.PropertyList.PropertyEditorValueChangedEventArgs
Type | Name | Methods |
---|---|---|
bool |
ChangeFailed Get or set if the change to the property's value has failed. In cases where an exception occurred while attempting to set the value or something else unexpected happened and the new value could not be set, then set this value to true and then set the PropertyEditorValueChangedEventArgs.FailedChangePropertyValue to what the updated value actually is. |
get, set |
object |
FailedChangePropertyValue Get or set what the value of the property is after a failure to change the property to the new value above. |
get, set |
The event arguments for the PropertyEditorValueChanged event, which takes place when the value of a property is changed using a property editor control.
public PropertyEditorValueChangedEventArgs(object oldValue, object newValue, string propertyName, PropertyInfo propertyInfo)
Type | Name | Description |
---|---|---|
object |
oldValue | The old value of the property being changed. |
object |
newValue | The new value of the property being changed. |
string |
propertyName | The name of the property being changed. |
PropertyInfo |
propertyInfo | The PropertyInfo representing the property being changed. |
Create a PropertyEditorValueChangedEventArgs.
public bool ChangeFailed { get; set; }
Get or set if the change to the property's value has failed. In cases where an exception occurred while attempting to set the value or something else unexpected happened and
the new value could not be set, then set this value to true
and then set the PropertyEditorValueChangedEventArgs.FailedChangePropertyValue to what the updated value actually is.
public object FailedChangePropertyValue { get; set; }
Get or set what the value of the property is after a failure to change the property to the new value above.
Generated with ModularDoc