Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​NotifyParentPropertyAttribute

Assembly: System.ComponentModel.Primitives

Inheritance: object → Attribute → NotifyParentPropertyAttribute

Indicates that the parent property is notified when the value of the property that this attribute is applied to is modified. This class cannot be inherited.

Fields and Constants

public static readonly NotifyParentPropertyAttribute
Default
Indicates the default attribute state, that the property should not notify the parent property of changes to its value. This field is read-only.
public static readonly NotifyParentPropertyAttribute
No
Indicates that the parent property is not be notified of changes to the value of the property. This field is read-only.
public static readonly NotifyParentPropertyAttribute
Yes
Indicates that the parent property is notified of changes to the value of the property. This field is read-only.

Properties

public bool
NotifyParent
Gets or sets a value indicating whether the parent property should be notified of changes to the value of the property.
public object
TypeId

Methods

public bool
Equals​(object obj)
Gets a value indicating whether the specified object is the same as the current object.
Returns <see langword="true" /> if the object is the same as this object; otherwise, <see langword="false" /> .
obj The object to test for equality.
public int
GetHashCode​()
Gets the hash code for this object.
Returns The hash code for the object the attribute belongs to.
public bool
IsDefaultAttribute​()
Gets a value indicating whether the current value of the attribute is the default value for the attribute.
Returns <see langword="true" /> if the current value of the attribute is the default value of the attribute; otherwise, <see langword="false" /> .
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object