GroupSnapToGridRule Class
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Microsoft.VisualStudio.Modeling.Diagrams::GroupBoundsRules
Microsoft.VisualStudio.Modeling.Diagrams::GroupSnapToGridRule
| Name | Description | |
|---|---|---|
![]() ![]() | Instance | Gets a singleton instance of the GroupSnapToGridRule. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetCompliantGroupBounds(Store^, ShapeElement^, GhostShapeCollection^, PointD) | Updates the GhostShapeCollection so that it complies with this GroupBoundsRules after the proposed location delta is applied.(Overrides GroupBoundsRules::GetCompliantGroupBounds(Store^, ShapeElement^, GhostShapeCollection^, PointD).) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



