aspnetbootstrap-devexpress-dot-web-dot-bootstrap-dot-bootstrapfabactionitem.md
Specifies the CSS class of the icon displayed for an Action Item.
Namespace : DevExpress.Web.Bootstrap
Assembly : DevExpress.Web.Bootstrap.v25.2.dll
NuGet Package : DevExpress.Web.Bootstrap
[DefaultValue("")]
public string IconCssClass { get; set; }
<DefaultValue("")>
Public Property IconCssClass As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string value that specifies name of the CSS class.
|
<dx:BootstrapFloatingActionButton ID="FABActionGroup" runat="server" ContainerCssSelector="#action-group">
<ClientSideEvents Init="onActionGroupInit" />
<Items>
<dx:BootstrapFABActionGroup ContextName="c1">
<Items>
<dx:BootstrapFABActionItem ActionName="comment" Text="Comment" IconCssClass="far fa-comment"></dx:BootstrapFABActionItem>
<dx:BootstrapFABActionItem ActionName="like" Text="Like" IconCssClass="far fa-thumbs-up"></dx:BootstrapFABActionItem>
</Items>
</dx:BootstrapFABActionGroup>
</Items>
<ClientSideEvents ActionItemClick="onFloatingActionButtonActionItemClick" />
</dx:BootstrapFloatingActionButton>
function onFloatingActionButtonActionItemClick(s, e) {
dxbsDemo.showToast("The '" + e.actionName + "' action item has been clicked.");
}
function onActionGroupInit(s, e) {
s.SetActionContext("c1", true);
}
See Also