DesignerSerializationVisibilityAttribute.Default Field

Definition

Specifies the default value, which is Visible, that is, a visual designer uses default rules to generate the value of a property. This static field is read-only.

public: static initonly System::ComponentModel::DesignerSerializationVisibilityAttribute ^ Default;
public static readonly System.ComponentModel.DesignerSerializationVisibilityAttribute Default;
 staticval mutable Default : System.ComponentModel.DesignerSerializationVisibilityAttribute
Public Shared ReadOnly Default As DesignerSerializationVisibilityAttribute 

Field Value

Remarks

When you mark a property with this value, this attribute is set to the constant member Visible. Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as DesignerSerializationVisibilityAttribute.Visible.

Applies to

See also