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:
- System.Object System.EventArgs System.Windows.RoutedEventArgs CancelRoutedEventArgs Object
Constructors
PropertyModelChildChangeEventArgs(IPropertyModel, IPropertyModel)
Initializes a new instance of the PropertyModelChildChangeEventArgs 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 a new instance of the PropertyModelChildChangeEventArgs class.
public PropertyModelChildChangeEventArgs(IPropertyModel parentPropertyModel, object childValue)
Parameter | Type | Description |
---|---|---|
parentPropertyModel | IPropertyModel | The IPropertyModel for the parent. |
childValue | System.Object | The child value. |
Properties
ChildPropertyModel
Gets the IPropertyModel for the child being added to or removed from the parent, if known.
public IPropertyModel ChildPropertyModel { get; }
Property Value
- IPropertyModel:
The IPropertyModel for the child being added to or removed from the parent, if known.
ChildValue
Gets or sets the child value.
public object ChildValue { get; set; }
Property Value
- System.Object:
The child value.
ParentPropertyModel
Gets the IPropertyModel for the parent.
public IPropertyModel ParentPropertyModel { get; }
Property Value
- IPropertyModel:
The IPropertyModel for the parent.
Inherited Members
- CancelRoutedEventArgs.Cancel
- System.EventArgs.Empty
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()