Skip to content

PropertyList.PropertyEditorValueChangedEventArgs

JaykeBird edited this page Feb 21, 2023 · 5 revisions

Back to home | Back to Reference | View raw text

PropertyEditorValueChangedEventArgs class

Description

The event arguments for the PropertyEditorValueChanged event, which takes place when the value of a property is changed using a property editor control.

Diagram

  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
Loading

Members

Properties

Public properties

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

Details

Summary

The event arguments for the PropertyEditorValueChanged event, which takes place when the value of a property is changed using a property editor control.

Inheritance

Constructors

PropertyEditorValueChangedEventArgs

public PropertyEditorValueChangedEventArgs(object oldValue, object newValue, string propertyName, PropertyInfo propertyInfo)
Arguments
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.
Summary

Create a PropertyEditorValueChangedEventArgs.

Properties

ChangeFailed

public bool ChangeFailed { get; set; }
Summary

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.

FailedChangePropertyValue

public object FailedChangePropertyValue { get; set; }
Summary

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

Clone this wiki locally