System.ComponentModel.EditorBrowsableAttribute Class

Specifies that a property or method is viewable in an editor. This class cannot be inherited.

See Also: EditorBrowsableAttribute Members


[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Event | System.AttributeTargets.Interface | System.AttributeTargets.Delegate | System.AttributeTargets.All)]
public sealed class EditorBrowsableAttribute : Attribute


System.ComponentModel.EditorBrowsableAttribute is a hint to a designer indicating whether a property or method is to be displayed. You can use this type in a visual designer or text editor to determine what is visible to the user. For example, the IntelliSense engine in vsprvs uses this attribute to determine whether to show a property or method.

In csprcs, you can control when advanced properties appear in IntelliSense and the Properties Window with the Hide Advanced Members setting under Tools | Options | Text Editor | C#. The corresponding System.ComponentModel.EditorBrowsableState is EditorBrowsableState.Advanced.


In csprcs, System.ComponentModel.EditorBrowsableAttribute does not suppress members from a class in the same assembly.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,