Skip to main content

ASPxClientFABAction.GetActionItemCount Method

Returns the number of items in the action/action group.

Declaration

GetActionItemCount(): number

Returns

Type Description
number

The number of items in the action/action group.

Remarks

Concept

Floating Action Button

Example

<dx:ASPxFloatingActionButton ID="ASPxFloatingActionButton1" runat="server" ClientInstanceName="fab" HorizontalMargin="35" ContainerElementID="form1"> 
    <ClientSideEvents  
        ContextChanging="OnContextChanging"
    /> 
    <Items> 
        <dx:FABActionGroup ContextName="FocusedRowContext"> 
            <ExpandImage Url="../Content/FloatingActionButton/Images/EditRowContext.svg"></ExpandImage> 
            <Items> 
                <dx:FABActionItem ActionName="DeleteRow" Text="Delete"> 
                    <Image Url="../Content/FloatingActionButton/Images/Delete.svg"></Image> 
                </dx:FABActionItem> 
                <dx:FABActionItem ActionName="EditRow" Text="Edit"> 
                    <Image Url="../Content/FloatingActionButton/Images/Edit.svg"></Image> 
                </dx:FABActionItem> 
            </Items> 
        </dx:FABActionGroup> 
    ...
    </Items> 
</dx:ASPxFloatingActionButton> 
See Also