Partager via


ShapeField.DefaultVisibility Property

Gets the shape field and verifies whether it appears by default or sets the default visibility of the shape field.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Property DefaultVisibility As Boolean
    Get
    Set
public bool DefaultVisibility { get; set; }
public:
property bool DefaultVisibility {
    bool get ();
    void set (bool value);
}
member DefaultVisibility : bool with get, set
function get DefaultVisibility () : boolean
function set DefaultVisibility (value : boolean)

Property Value

Type: System.Boolean
true if the shape field appears by default; otherwise, false.

Remarks

The ShapeField's GetVisible method returns this value unless GetVisible is overridden.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace