Back to Devexpress

ASPxClientFloatingActionButtonActionExpandingEventArgs Class

aspnet-js-aspxclientfloatingactionbuttonactionexpandingeventargs.md

latest2.0 KB
Original Source

ASPxClientFloatingActionButtonActionExpandingEventArgs Class

Provides data for the ActionExpanding event.

Declaration

ts
declare class ASPxClientFloatingActionButtonActionExpandingEventArgs extends ASPxClientEventArgs

Remarks

Use the ASPxClientFloatingActionButtonActionExpandingEventArgs ‘s objects as arguments for the ActionExpanding event.

The ASPxClientFloatingActionButtonActionExpandingEventArgs objects with proper settings are automatically created and passed to the corresponding event handler.

Concept

Floating Action Button

Example

aspx
<dx:ASPxFloatingActionButton ID="ASPxFloatingActionButton1" runat="server" ClientInstanceName="fab" HorizontalMargin="35" ContainerElementID="form1"> 
    <ClientSideEvents  
        ActionExpanding="OnActionExpanding"
    /> 
    <Items> 
        <dx:FABAction ActionName="NewRow" ContextName="NewRowContext">
        </dx:FABAction>
        <dx:FABActionGroup ContextName="FocusedRowContext">
            <ExpandImage Url="../Content/FloatingActionButton/Images/EditRowContext.svg"></ExpandImage>
            <Items>
            ...
            </Items>
        </dx:FABActionGroup>
        ...
    </Items> 
</dx:ASPxFloatingActionButton>
js
function OnActionExpanding(s, e) {
    if(e.contextName =="FocusedRowContext")
        //your code 
}

Online Demo

Floating Action Button for GridView

Inheritance

ASPxClientEventArgs ASPxClientFloatingActionButtonActionExpandingEventArgs

See Also

ASPxClientFloatingActionButtonActionExpandingEventArgs Members