KeepInParentRule Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Bounds rule that keeps the shape within the boundary of the diagram.
public ref class KeepInParentRule : Microsoft::VisualStudio::Modeling::Diagrams::BoundsRules
[System.Serializable]
public class KeepInParentRule : Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules
[<System.Serializable>]
type KeepInParentRule = class
inherit BoundsRules
Public Class KeepInParentRule
Inherits BoundsRules
- Inheritance
- Attributes
Keep |
Initializes a new instance of the KeepInDiagramRule class. |
Instance |
Gets the singleton instance of this class. |
Get |
Returns the compliant bounds in world units relative to the top-left of the parent using this bounds rule. |
Get |
Gets the minimum margin in world units between the shape and the diagram boundary. |
Προϊόν | Εκδόσεις |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |