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
'宣告
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
- 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.