.NET Framework Class Library
EditorBrowsableState Enumeration

Updated: November 2007

Specifies the browsable state of a property or method from within an editor.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

Visual Basic (Declaration)
Public Enumeration EditorBrowsableState
Visual Basic (Usage)
Dim instance As EditorBrowsableState
C#
public enum EditorBrowsableState
Visual C++
public enum class EditorBrowsableState
J#
public enum EditorBrowsableState
JScript
public enum EditorBrowsableState
Member nameDescription
Always The property or method is always browsable from within an editor.
Never The property or method is never browsable from within an editor.
Advanced The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.

This class is used by a visual designer to determine what is visible to the user. For example, the IntelliSense engine in Visual Studio never shows methods or properties that are marked as Never. Use EditorBrowsableAttribute to specify the EditorBrowsableState for a member.

For an example of using the EditorBrowsableState enumerator, see the sample code in EditorBrowsableAttribute class.

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0

XNA Framework

Supported in: 2.0, 1.0
Page view tracker