DesignerSerializationVisibilityAttribute.Default Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

public static readonly DesignerSerializationVisibilityAttribute Default

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.

.NET Framework
Available since 1.1
Return to top
Show: