Share via


Diagram.GridColor Property

Gets or sets the color of the grid.

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

Syntax

'Declaration
Public Property GridColor As Color
'Usage
Dim instance As Diagram 
Dim value As Color 

value = instance.GridColor

instance.GridColor = value
public Color GridColor { get; set; }
public:
property Color GridColor {
    Color get ();
    void set (Color value);
}
public function get GridColor () : Color 
public function set GridColor (value : Color)

Property Value

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

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace