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.
For a list of all members of this type, see NotifyParentPropertyAttribute Members.
System.Object
System.Attribute
System.ComponentModel.NotifyParentPropertyAttribute
[Visual Basic] <AttributeUsage(AttributeTargets.Property)> NotInheritable Public Class NotifyParentPropertyAttribute Inherits Attribute [C#] [AttributeUsage(AttributeTargets.Property)] public sealed class NotifyParentPropertyAttribute : Attribute [C++] [AttributeUsage(AttributeTargets::Property)] public __gc __sealed class NotifyParentPropertyAttribute : public Attribute [JScript] public AttributeUsage(AttributeTargets.Property) class NotifyParentPropertyAttribute extends Attribute
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Apply NotifyParentPropertyAttribute to a property if its parent property should receive notification of changes to the property's values. For example, the Size property has two nested properties: height and width. These nested properties should be marked with NotifyParentPropertyAttribute(true) so they notify the parent property to update its value and display when the property values change.
For more information about using attributes, see
Namespace: System.ComponentModel
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
NotifyParentPropertyAttribute Members | System.ComponentModel Namespace | Attribute