Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1StylePosition Enumeration

In This Topic
    C1StylePosition Enumeration
    In This Topic
    The position property specifies the type of positioning method used for an element.
    Syntax
    'Declaration
     
    
    Public Enum C1StylePosition 
       Inherits System.Enum
    public enum C1StylePosition : System.Enum 
    Members
    MemberDescription
    AbsoluteThe element is positioned relative to its first positioned (not static) ancestor element.
    FixedThe element is positioned relative to the browser window.
    RelativeThe element is positioned relative to its normal position, so "left:20px" adds 20 pixels to the element's LEFT position.
    StaticElements render in order, as they appear in the document flow (Default value).
    StickyThe element is positioned based on the user's scroll position
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Blazor.Core.C1StylePosition

    See Also