.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
Public Enumeration EditorBrowsableState
public enum EditorBrowsableState
public enum class EditorBrowsableState
type EditorBrowsableState
public enum EditorBrowsableState
Members
Member nameDescription
Supported by the XNA Framework Supported by Portable Class LibraryAdvancedThe property or method is a feature that only advanced users should see. An editor can either show or hide such properties.
Supported by the XNA Framework Supported by Portable Class LibraryAlwaysThe property or method is always browsable from within an editor.
Supported by the XNA Framework Supported by Portable Class LibraryNeverThe property or method is never browsable from within an editor.
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.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8