PropertyModelChildChangeEventArgs Class
Provides event arguments for IPropertyModel child change events, such as when a child item is added to or removed from a collection.
public class PropertyModelChildChangeEventArgs : CancelRoutedEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs CancelRoutedEventArgs object
Constructors
PropertyModelChildChangeEventArgs(IPropertyModel?, IPropertyModel?)
Initializes an instance of the class.
public PropertyModelChildChangeEventArgs(IPropertyModel? parentPropertyModel, IPropertyModel? childPropertyModel)
| Parameter | Type | Description |
|---|---|---|
| parentPropertyModel | IPropertyModel | The IPropertyModel for the parent. |
| childPropertyModel | IPropertyModel | The IPropertyModel for the child being added to or removed from the parent, if known. |
PropertyModelChildChangeEventArgs(IPropertyModel?, object?)
Initializes an instance of the class.
public PropertyModelChildChangeEventArgs(IPropertyModel? parentPropertyModel, object? childValue)
| Parameter | Type | Description |
|---|---|---|
| parentPropertyModel | IPropertyModel | The IPropertyModel for the parent. |
| childValue | object | The child value. |
Properties
ChildPropertyModel
The IPropertyModel for the child being added to or removed from the parent, if known.
ChildValue
The child value.
ParentPropertyModel
The IPropertyModel for the parent.
Inherited Members
- CancelRoutedEventArgs.Cancel
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()