Icon
in namespace DotVVM.BusinessPack.Controls
Renders a BusinessPack SVG icon.
Usage & Scenarios
Renders an BusinessPack custom icon.
List of all icons:
Sample 1: Basic Usage
The Icon property specifies which icon will be used.
<p>
<bp:Icon Icon="Success" /> It works !
</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 | IconType | 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
bindable
|
True | |
| Visible | Boolean |
attribute
bindable
|
True |