Whether the component is visible, hidden or collapsed.
BitComponentBase public members
Name
Type
Default value
Description
UniqueId
Guid
Guid.NewGuid()
The readonly unique id of the root element. it will be assigned to a new Guid at component instance construction.
RootElement
ElementReference
The ElementReference of the root element.
BitTagClassStyles properties
Name
Type
Default value
Description
Root
string?
null
Custom CSS classes/styles for the root element of the BitTag.
Text
string?
null
Custom CSS classes/styles for the text of the BitTag.
Icon
string?
null
Custom CSS classes/styles for the icon of the BitTag.
DismissButton
string?
null
Custom CSS classes/styles for the dismiss button of the BitTag.
DismissIcon
string?
null
Custom CSS classes/styles for the dismiss icon of the BitTag.
BitColor enum
Name
Value
Description
Primary
0
Info Primary general color.
Secondary
1
Secondary general color.
Tertiary
2
Tertiary general color.
Info
3
Info general color.
Success
4
Success general color.
Warning
5
Warning general color.
SevereWarning
6
SevereWarning general color.
Error
7
Error general color.
BitSize enum
Name
Value
Description
Small
0
The small size.
Medium
1
The medium size.
Large
2
The large size.
BitVariant enum
Name
Value
Description
Fill
0
Fill styled variant.
Outline
1
Outline styled variant.
Text
2
Text styled variant.
BitVisibility enum
Name
Value
Description
Visible
0
The content of the component is visible.
Hidden
1
The content of the component is hidden, but the space it takes on the page remains (visibility:hidden).
Collapsed
2
The component is hidden (display:none).
BitDir enum
Name
Value
Description
Ltr
0
Ltr (left to right) is to be used for languages that are written from the left to the right (like English).
Rtl
1
Rtl (right to left) is to be used for languages that are written from the right to the left (like Arabic).
Auto
2
Auto lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then applies that directionality to the whole element.