DisplayType enumeration

DisplayType enumeration

Specifies the display behavior of elements in SVG documents.

The DisplayType type exposes the following members:

Fields

FieldDescription
INLINEThe element generates one or more inline boxes.
BLOCKThe element generates a block box.
LIST_ITEMThe element generates a block box for the content and a separate list-item inline box.
INLINE_BLOCKThe element generates a block box for the content and an inline box for the container.
TABLEThe element behaves like a table element.
INLINE_TABLEThe element behaves like an inline table.
TABLE_ROW_GROUPThe element behaves like a table row group.
TABLE_HEADER_GROUPThe element behaves like a table header group.
TABLE_FOOTER_GROUPThe element behaves like a table footer group.
TABLE_ROWThe element behaves like a table row.
TABLE_COLUMN_GROUPThe element behaves like a table column group.
TABLE_COLUMNThe element behaves like a table column.
TABLE_CELLThe element behaves like a table cell.
TABLE_CAPTIONThe element behaves like a table caption.
NONEThe element does not generate any box and is not rendered. It does not affect layout.
FLEXThe element behaves like a flex container.
INLINE_FLEXThe element behaves like an inline flex container.
GRIDThe element behaves like a grid container.
INLINE_GRIDThe element behaves like an inline grid container.

Remarks

The ‘display’ property in SVG and CSS determines how an element is displayed in the document layout. This enumeration provides various options for setting the display type, influencing how elements are rendered and interact with the layout.

See Also