Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property DefaultShapeField As ShapeField
public virtual ShapeField DefaultShapeField { get; }
public:
virtual property ShapeField^ DefaultShapeField {
    ShapeField^ get ();
}
abstract DefaultShapeField : ShapeField with get 
override DefaultShapeField : ShapeField with get
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