DisplayType Enum

DisplayType enumeration

Specifies the display behavior of elements in SVG documents.

public enum DisplayType

Values

NameValueDescription
Inline0The element generates one or more inline boxes.
Block1The element generates a block box.
ListItem2The element generates a block box for the content and a separate list-item inline box.
InlineBlock3The element generates a block box for the content and an inline box for the container.
Table4The element behaves like a table element.
InlineTable5The element behaves like an inline table.
TableRowGroup6The element behaves like a table row group.
TableHeaderGroup7The element behaves like a table header group.
TableFooterGroup8The element behaves like a table footer group.
TableRow9The element behaves like a table row.
TableColumnGroup10The element behaves like a table column group.
TableColumn11The element behaves like a table column.
TableCell12The element behaves like a table cell.
TableCaption13The element behaves like a table caption.
None14The element does not generate any box and is not rendered. It does not affect layout.
Flex15The element behaves like a flex container.
InlineFlex16The element behaves like an inline flex container.
Grid17The element behaves like a grid container.
InlineGrid18The 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