GroupSnapToGridRule Class

Definition

A GroupBoundsRule which constrains the overall bounds of a group of child shapes such that the primary shape's location snaps to the grid if the grid is enabled.

C++
public ref class GroupSnapToGridRule : Microsoft::VisualStudio::Modeling::Diagrams::GroupBoundsRules
Inheritance
GroupSnapToGridRule

Properties

Instance

Gets a singleton instance of the GroupSnapToGridRule.

Methods

GetCompliantGroupBounds(Store, ShapeElement, GhostShapeCollection, PointD)

Updates the GhostShapeCollection so that it complies with this GroupBoundsRules after the proposed location delta is applied.

Applies to

Táirge Leaganacha
Visual Studio SDK 2017, 2019, 2022