EditorBrowsableState Enumeration (System.ComponentModel)

Switch View :
ScriptFree
.NET Framework Class Library
EditorBrowsableState Enumeration

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

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

Visual Basic
Public Enumeration EditorBrowsableState
C#
public enum EditorBrowsableState
Visual C++
public enum class EditorBrowsableState
F#
type EditorBrowsableState
Members

Member name Description
Supported by the XNA Framework Supported by Portable Class Library Always The property or method is always browsable from within an editor.
Supported by the XNA Framework Supported by Portable Class Library Never The property or method is never browsable from within an editor.
Supported by the XNA Framework Supported by Portable Class Library Advanced The property or method is a feature that only advanced users should see. An editor can either show or hide such properties.
Remarks

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.

Examples

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

Version Information

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference