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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property ShowGrid As Boolean
[BrowsableAttribute(false)]
public bool ShowGrid { get; set; }
[BrowsableAttribute(false)]
public:
property bool ShowGrid {
    bool get ();
    void set (bool value);
}
[<BrowsableAttribute(false)>]
member ShowGrid : bool with get, set
function get ShowGrid () : boolean 
function set ShowGrid (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace