共用方式為


ShapeElement.DefaultShapeField Property

Gets the default shape, which is the first shape that can receive focus.

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

Syntax

'宣告
Public Overridable ReadOnly Property DefaultShapeField As ShapeField
    Get
public virtual ShapeField DefaultShapeField { get; }
public:
virtual property ShapeField^ DefaultShapeField {
    ShapeField^ get ();
}
abstract DefaultShapeField : ShapeField
override DefaultShapeField : ShapeField
function get DefaultShapeField () : ShapeField

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The default shape.

Remarks

The default shape also receives an event when another shape element has the focus but is not responding to the event.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace