ShapeElement.MoveByRepositioning Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
| MoveByRepositioning(ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem) |
Перемещает фигуры в заданном прототипе в указанную точку. |
| MoveByRepositioning(DiagramDragEventArgs) |
Перемещает фигуры в ElementGroupPrototype на величину, определенную положением мыши. |
MoveByRepositioning(ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem)
Перемещает фигуры в заданном прототипе в указанную точку.
public:
virtual void MoveByRepositioning(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ topLevelItems, Microsoft::VisualStudio::Modeling::Diagrams::PointD moveDelta, Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ hitDiagramItem);
public virtual void MoveByRepositioning (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection topLevelItems, Microsoft.VisualStudio.Modeling.Diagrams.PointD moveDelta, Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem hitDiagramItem);
abstract member MoveByRepositioning : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
override this.MoveByRepositioning : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
Public Overridable Sub MoveByRepositioning (elementGroupPrototype As ElementGroupPrototype, topLevelItems As DiagramItemCollection, moveDelta As PointD, hitDiagramItem As DiagramItem)
Параметры
- elementGroupPrototype
- ElementGroupPrototype
ElementGroupPrototype, содержащий перемещаемые фигуры.
- topLevelItems
- DiagramItemCollection
Коллекция Диаграмитемс, созданная на основе фигур верхнего уровня в ЕГП.
- moveDelta
- PointD
Новое размещение фигур.
- hitDiagramItem
- DiagramItem
Применяется к
MoveByRepositioning(DiagramDragEventArgs)
Перемещает фигуры в ElementGroupPrototype на величину, определенную положением мыши.
protected:
void MoveByRepositioning(Microsoft::VisualStudio::Modeling::Diagrams::DiagramDragEventArgs ^ diagramDragArgs);
protected void MoveByRepositioning (Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs diagramDragArgs);
member this.MoveByRepositioning : Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs -> unit
Protected Sub MoveByRepositioning (diagramDragArgs As DiagramDragEventArgs)
Параметры
- diagramDragArgs
- DiagramDragEventArgs
Объект Диаграмдражевентаргс, содержащий данные события.