System.ComponentModel.BrowsableAttribute.Yes Field

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

Syntax

public static readonly BrowsableAttribute Yes

Remarks

This field is the default setting for this attribute.

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

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0