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

Syntax

'Declaration
Public Overridable ReadOnly Property DefaultShapeField As ShapeField
'Usage
Dim instance As ShapeElement 
Dim value As ShapeField 

value = instance.DefaultShapeField
public virtual ShapeField DefaultShapeField { get; }
public:
virtual property ShapeField^ DefaultShapeField {
    ShapeField^ get ();
}
public 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

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace