DekGenius.com
[ Team LiB ] Previous Section Next Section

RefreshPropertiesAttribute

System.ComponentModel (system.dll)sealed class

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
}

Hierarchy

System.Object System.Attribute RefreshPropertiesAttribute

Valid On

All

    [ Team LiB ] Previous Section Next Section