DefaultGroupBoundsRules.GetCompliantGroupBounds Yöntem

Tanım

, Önerilen konum Delta uygulandıktan sonra, GhostShapeCollection 'ı bu GroupBoundsRules ile uyumlu olacak şekilde güncelleştirir.

public:
 override void GetCompliantGroupBounds(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ targetShape, Microsoft::VisualStudio::Modeling::Diagrams::GhostShapeCollection ^ ghostShapes, Microsoft::VisualStudio::Modeling::Diagrams::PointD proposedLocationDelta);
public override void GetCompliantGroupBounds (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement targetShape, Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection ghostShapes, Microsoft.VisualStudio.Modeling.Diagrams.PointD proposedLocationDelta);
override this.GetCompliantGroupBounds : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Public Overrides Sub GetCompliantGroupBounds (store As Store, targetShape As ShapeElement, ghostShapes As GhostShapeCollection, proposedLocationDelta As PointD)

Parametreler

store
Store

Hayalet şekillerin başvurduğu ShapeElements içeren depo.

targetShape
ShapeElement

Kaynak şekillerin yeniden üst öğesi veya yinelenebilir olması durumunda hedef üst şekil. Bu parametre null olabilir, bu durumda kaynak şekillerin yeniden konumlandırılmakta olması gerekir.

ghostShapes
GhostShapeCollection

Önerilen konum delmadan önce ShapeElements betimleyen hayalet şekiller koleksiyonu. Bu yöntem, önerilen konum Delta uygulandıktan sonra özelliklerin bu kuralla uyumlu olması için, hayalet şekil özelliklerini değiştirmeli.

proposedLocationDelta
PointD

Gruptaki her bir şekle uygulanacak dünya birimlerindeki önerilen konum Delta.

Şunlara uygulanır