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

'宣言
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property DefaultGridSize As Double
'使用
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;
    }
}

Permissions

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace