FABrandIcon
in namespace DotVVM.BusinessPack.Controls
Renders a FontAwesome (https://fontawesome.com/) SVG icon.
Usage & Scenarios
Displays a brand logo from the Font Awesome Brands icon set included with Business Pack.
Sample 1: Displaying brand logos
Set Icon to a member of FABrandIconType. Use the brand icon alongside a text label so readers do not have to recognize the logo.
<p><bp:FABrandIcon Icon="Github" /> GitHub</p>
<p><bp:FABrandIcon Icon="Gitlab" /> GitLab</p>
Properties
| Name | Type | Description | Notes | Default Value | |
|---|---|---|---|---|---|
| ClientIDMode | ClientIDMode | Gets or sets the client ID generation algorithm. |
attribute
static value
|
Static | |
| DataContext | Object | Gets or sets a data context for the control and its children. All value and command bindings are evaluated in context of this value. The DataContext is null in client-side templates. |
attribute
bindable
|
null | |
| Icon | FABrandIconType | Gets or sets the type of the icon to render. |
attribute
static value
bindable
|
Empty | |
| ID | String | Gets or sets the control client ID within its naming container. |
attribute
static value
bindable
|
null | |
| IncludeInPage | Boolean | Gets or sets whether the control is included in the DOM of the page. |
attribute
static value
bindable
|
True | |
| Visible | Boolean |
attribute
bindable
|
True |