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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.