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

In This Topic
    C1StyleDisplay Enumeration
    In This Topic
    The display property specifies the display behavior (the type of rendering box) of an element.
    Syntax
    'Declaration
     
    
    Public Enum C1StyleDisplay 
       Inherits System.Enum
    public enum C1StyleDisplay : System.Enum 
    Members
    MemberDescription
    BlockDisplays an element as a block element (like <p>). It starts on a new line, and takes up the whole width.
    ContentsMakes the container disappear, making the child elements children of the element the next level up in the DOM.
    FlexDisplays an element as a block-level flex container.
    GridDisplays an element as a block-level grid container.
    InlineDisplays an element as an inline element (like <span>). Any height and width properties will have no effect. This is default.
    InlineBlockDisplays an element as an inline-level block container. The element itself is formatted as an inline element, but you can apply height and width values.
    InlineFlexDisplays an element as an inline-level flex container.
    InlineGridDisplays an element as an inline-level grid container.
    InlineTableThe element is displayed as an inline-level table, with no line break before or after the table.
    ListItemLet the element behave like a <li> element.
    NoneThe element is completely removed
    RunInElement is rendered as block-level or inline element. Depends on context.
    TableLet the element behave like a <table> element.
    TableCaptionLet the element behave like a <caption> element.
    TableCellLet the element behave like a <td> element.
    TableColumnLet the element behave like a <col> element.
    TableColumnGroupLet the element behave like a <colgroup> element.
    TableFooterGroupLet the element behave like a <tfoot> element.
    TableHeaderGroupLet the element behave like a <thead> element.
    TableRowLet the element behave like a <tr> element.
    TableRowGroupLet the element behave like a <tbody> element.
    Remarks
    In HTML, the default display property value is taken from the HTML specifications or from the browser/user default style sheet. The default value in XML is inline, including SVG elements.
    Inheritance Hierarchy

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

    See Also