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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.