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

Syntax

声明
<BrowsableAttribute(False)> _
Public Property ShowGrid As Boolean
    Get
    Set
[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: System.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