In This Article

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.

public IPropertyModel? ChildPropertyModel { get; }

Property Value

IPropertyModel

ChildValue

The child value.

public object? ChildValue { get; set; }

Property Value

object

ParentPropertyModel

The IPropertyModel for the parent.

public IPropertyModel? ParentPropertyModel { get; }

Property Value

IPropertyModel

Inherited Members

Extension Methods