ListItemSubField.GetInPlaceEditorBounds(ShapeElement, ShapeField) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以世界单位返回就地编辑器相对于其父形状的边界。
public:
override Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetInPlaceEditorBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public override Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetInPlaceEditorBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
override this.GetInPlaceEditorBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overrides Function GetInPlaceEditorBounds (parentShape As ShapeElement, parentField As ShapeField) As RectangleD
参数
- parentShape
- ShapeElement
包含此子字段的 ShapeElement 实例。
- parentField
- ShapeField
此 ShapeSubField 的父 ShapeField。
返回
就地编辑器相对于其父形状的全局单位的边界。