March 2003
Intermediate to advanced
896 pages
32h 35m
English
RefreshPropertiesAttribute
You can adorn a property with this attribute to indicate how a
designer properties window should be updated when its values changes.
The RefreshProperties member can be set to
Default if only the modified property should be
updated, Repaint if all the properties (including
this one) should be repainted, and All if all the
properties should be queried afresh, and then repainted.
public sealed class RefreshPropertiesAttribute : Attribute { // Public Constructors public RefreshPropertiesAttribute(RefreshProperties refresh); // Public Static Fields public static readonly RefreshPropertiesAttribute All; // =System.ComponentModel.RefreshPropertiesAttribute public static readonly RefreshPropertiesAttribute Default; // =System.ComponentModel.RefreshPropertiesAttribute public static readonly RefreshPropertiesAttribute Repaint; // =System.ComponentModel.RefreshPropertiesAttribute // Public Instance Properties public RefreshProperties RefreshProperties{get; } // Public Instance Methods public override bool Equals(object value); // overrides Attribute public override int GetHashCode(); // overrides Attribute public override bool IsDefaultAttribute(); // overrides Attribute }
System.Object
→ System.Attribute → RefreshPropertiesAttribute
All
Read now
Unlock full access