Share via


Diagram.DefaultGridSize Property

Gets the size of the grid for the diagram.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property DefaultGridSize As Double
'Usage
Dim instance As Diagram 
Dim value As Double 

value = instance.DefaultGridSize
[BrowsableAttribute(false)]
public virtual double DefaultGridSize { get; }
[BrowsableAttribute(false)]
public:
virtual property double DefaultGridSize {
    double get ();
}
public function get DefaultGridSize () : double

Property Value

Type: System.Double
The size of the grid for the diagram.

Examples

public override double DefaultGridSize
{
    get
    {
        return 0.01;
    }
}

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace