约束形状的一组位置的规则,如果组重新定位。
继承层次结构
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.GroupBoundsRules
Microsoft.VisualStudio.Modeling.Diagrams.DefaultGroupBoundsRules
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
Public NotInheritable Class DefaultGroupBoundsRules _
Inherits GroupBoundsRules
public sealed class DefaultGroupBoundsRules : GroupBoundsRules
DefaultGroupBoundsRules 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() ![]() |
Instance | 获取默认 GroupBoundsRules 的一个实例。该默认包含 KeepGroupWithinParentRule 和 GroupSnapToGridRule。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
GetCompliantGroupBounds | 更新 GhostShapeCollection,使其符合此 GroupBoundsRules,在建议的位置增量是应用后。 (重写 GroupBoundsRules.GetCompliantGroupBounds(Store, ShapeElement, GhostShapeCollection, PointD)。) |
![]() |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。