EditorBrowsableState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the browsable state of a property or method from within an editor.
public enum class EditorBrowsableState
public enum EditorBrowsableState
type EditorBrowsableState =
Public Enum EditorBrowsableState
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Always | 0 | The property or method is always browsable from within an editor. |
Never | 1 | The property or method is never browsable from within an editor. |
Advanced | 2 | The property or method is a feature that only advanced users should see. An editor can either show or hide such properties. |
Examples
For an example of using the EditorBrowsableState enumerator, see the sample code in EditorBrowsableAttribute class.
Remarks
This class is used by a visual designer to determine what's visible to the user. For example, the IntelliSense engine in Visual Studio never shows methods or properties that are marked as EditorBrowsableState.Never. Use EditorBrowsableAttribute to specify the EditorBrowsableState for a member.