Partager via


Diagram.GridColor Property

Gets or sets the color of the grid.

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

Syntax

'Déclaration
Public Property GridColor As Color
    Get
    Set
public Color GridColor { get; set; }
public:
property Color GridColor {
    Color get ();
    void set (Color value);
}
member GridColor : Color with get, set
function get GridColor () : Color
function set GridColor (value : Color)

Property Value

Type: System.Drawing.Color
The color of the grid.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace