Freigeben über


BrowsableAttribute.Default Field

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

Specifies the default value for the BrowsableAttribute, which is Yes. This static field is read-only.

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

Syntax

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

Remarks

When you mark a property with this value, this attribute is set to the constant member Yes. Therefore, when you want to 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.