共用方式為


DiagramPens.GridLines Property

Gets the resource Id for the diagram's grid lines pen. Used to draw the grid points on the diagram.

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

Syntax

'宣告
Public Shared ReadOnly Property GridLines As StyleSetResourceId
    Get
public static StyleSetResourceId GridLines { get; }
public:
static property StyleSetResourceId^ GridLines {
    StyleSetResourceId^ get ();
}
static member GridLines : StyleSetResourceId
static function get GridLines () : StyleSetResourceId

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId

.NET Framework Security

See Also

Reference

DiagramPens Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace