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.

public ref class GroupSnapToGridRule : Microsoft::VisualStudio::Modeling::Diagrams::GroupBoundsRules
public class GroupSnapToGridRule : Microsoft.VisualStudio.Modeling.Diagrams.GroupBoundsRules
type GroupSnapToGridRule = class
    inherit GroupBoundsRules
Public Class GroupSnapToGridRule
Inherits 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