Name

EditorBrowsableAttribute

Synopsis

This attribute is used to adorn classes, structs, and members to indicate whether they should appear in an editor. You can retrieve EditorBrowsableState for the attribute using the State property. It determines which fields appear in the IntelliSense pop-up menus in the editor.


public sealed class EditorBrowsableAttribute : Attribute {

// Public Constructors

   public EditorBrowsableAttribute();

   public EditorBrowsableAttribute(EditorBrowsableState state);

// Public Instance Properties

   public EditorBrowsableState State{get; }

// Public Instance Methods

   public override bool Equals(object obj);  // overrides Attribute

   public override int GetHashCode();  // overrides Attribute

}

Hierarchy

System.Object System.Attribute EditorBrowsableAttribute

Valid On

Class, Struct, Enum, Constructor, Method, Property, Field, Event, Interface, Delegate

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.