BrowsableAttribute.Yes Field

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

Specifies that a property or event can be modified at design time. This static field is read-only.

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

Syntax

'Declaration
Public Shared ReadOnly Yes As BrowsableAttribute
public static readonly BrowsableAttribute Yes

Remarks

This field is the default setting for this attribute.

When you mark a property with the BrowsableAttribute constructor of the value true, this attribute is set to the constant member Yes. Therefore, when you check whether the attribute is set to this value in your code, you must specify the attribute as BrowsableAttribute.Yes.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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