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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Property DefaultVisibility As Boolean
'Usage
Dim instance As ShapeField
Dim value As Boolean
value = instance.DefaultVisibility
instance.DefaultVisibility = value
public bool DefaultVisibility { get; set; }
public:
property bool DefaultVisibility {
bool get ();
void set (bool value);
}
public function get DefaultVisibility () : boolean
public 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.