Share via


Diagram.ShowGrid Property

Gets the diagram and verifies whether the grid should appear for it or sets the visibility state of the diagram.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property ShowGrid As Boolean
'Usage
Dim instance As Diagram 
Dim value As Boolean 

value = instance.ShowGrid

instance.ShowGrid = value
[BrowsableAttribute(false)]
public bool ShowGrid { get; set; }
[BrowsableAttribute(false)]
public:
property bool ShowGrid {
    bool get ();
    void set (bool value);
}
public function get ShowGrid () : boolean 
public function set ShowGrid (value : boolean)

Property Value

Type: System.Boolean
true if the grid should appear for the diagram; otherwise, false.

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace