Spread Windows Forms 14.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / AttachAlignment Enumeration


In This Topic
    AttachAlignment Enumeration
    In This Topic
    Specifies how to position and align the attached element to the core element.
    Syntax
    'Declaration
     
    
    Public Enum AttachAlignment 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As AttachAlignment
    public enum AttachAlignment : System.Enum 
    Members
    MemberDescription
    BottomThe attached element is at the bottom of the core element.
    BottomCenterThe attached element is at the bottom of the core element in vertical, and two element's center points have same horizontal coordinate.
    BottomLeftThe attached element is at the bottom of the core element in vertical, and two element's left edges have same horizontal coordinate.
    BottomRightThe attached element is at the bottom of the core element in vertical, and two element's right edges have same horizontal coordinate.
    LeftThe attached element is at the left of the core element.
    LeftBottomThe attached element is at the left of the core element in horizontal, and two element's bottom edges have same vertial coordinate.
    LeftMiddleThe attached element is at the left of the core element in horizontal, and two element's center points have same vertial coordinate.
    LeftTopThe attached element is at the left of the core element in horizontal, and two element's top edges have same vertial coordinate.
    RightThe attached element is at the right of the core element.
    RightBottomThe attached element is at the right of the core element in horizontal, and two element's bottom edges have same vertial coordinate.
    RightMiddleThe attached element is at the right of the core element in horizontal, and two element's center points have same vertial coordinate.
    RightTopThe attached element is at the right of the core element in horizontal, and two element's top edges have same vertial coordinate.
    TopThe attached element is at the top of the core element.
    TopCenterThe attached element is at the top of the core element in vertical, and two element's center points have same horizontal coordinate.
    TopLeftThe attached element is at the top of the core element in vertical, and two element's left edges have same horizontal coordinate.
    TopRightThe attached element is at the top of the core element in vertical, and two element's right edges have same horizontal coordinate.
    Remarks
    This is used when alignment and positioning needs to take place between 2 elements, such as an image and a text. Usually, the text will become the core element with the image being the attached element in this case.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Win.Spread.InputMan.CellType.AttachAlignment

    See Also