Skip to main content

ASPxClientFABAction.GetActionItem(index) Method

Gets the FAB action item.

Declaration

GetActionItem(
    index: number
): ASPxClientFABActionItem

Parameters

Name Type Description
index number

The item’s index in the collection.

Returns

Type Description
ASPxClientFABActionItem

Specifies the FAB action item.

Remarks

<dx:ASPxFloatingActionButton ID="ASPxFloatingActionButton1" runat="server" ClientInstanceName="fab" ContainerElementID="demoFabContent">
    <ClientSideEvents Init="OnInit" ContextChanging="OnContextChanging" />
    <Items>
        <dx:FABAction ContextName="NewItemContext" Text="New Item" ActionName="NewItem">
        </dx:FABAction>
        <dx:FABActionGroup ContextName="ShareItemContext" Text="Share">
            <ExpandImage Url="../Content/FloatingActionButton/Images/Share.svg"></ExpandImage>
            <Items>
                <dx:FABActionItem ActionName="Email">
                    <Image Url="../Content/FloatingActionButton/Images/Email.svg"></Image>
                </dx:FABActionItem>
                ...
            </Items>
        </dx:FABActionGroup>
        ...
    </Items>
</dx:ASPxFloatingActionButton>
See Also