Use of NotifyParentPropertyAttribute

  • Thread starter Thread starter Polo
  • Start date Start date
P

Polo

Hi,

Somebody can exlpain me how to use the attribute
[NotifyParentPropertyAttribute(true)]

At the moment I use [RefreshPropertiesAttribute(RefreshProperties.Repaint)]
to ensure that the parent of this property is redrawed.

Thank's in advance

Polo
 
From the MSDN docs :
You can specify whether a property that has nested, or child, properties
should be notified when the value of a nested property changes by applying a
NotifyParentPropertyAttribute to the nested property that should raise the
notification.
You can specify whether the properties for a component should be refreshed,
no properties should be refreshed, or the designer view should be repainted
by applying a RefreshPropertiesAttribute with an appropriate
RefreshProperties value to a property or event.

I could not find excatly what do they mean by 'notification'

----------------
-Atul, Sky Software http://www.ssware.com
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
 
Back
Top