Share via


EditorBrowsableState Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Enumeration EditorBrowsableState
public enum EditorBrowsableState

Members

Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Always The property or method is always browsable from within an editor.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 Never The property or method is never browsable from within an editor.
Supported by Silverlight for Windows PhoneSupported by Xbox 360 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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.