ShapeSubField.GetInPlaceEditorBounds(ShapeElement, ShapeField) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the bounds of the in-place editor relative to its parent shape in world units.
public:
virtual Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetInPlaceEditorBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetInPlaceEditorBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetInPlaceEditorBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
override this.GetInPlaceEditorBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overridable Function GetInPlaceEditorBounds (parentShape As ShapeElement, parentField As ShapeField) As RectangleD
Parameters
- parentShape
- ShapeElement
The ShapeElement instance that contains this subfield.
- parentField
- ShapeField
The parent ShapeField of this ShapeSubField.
Returns
The bounds of the in-place editor relative to its parent shape in world units.