Skip to main content

FloatingActionButtonSettings.InitialActionContext Property

Specifies which floating action button’s action should be displayed when a page is initialized.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string InitialActionContext { get; set; }

Property Value

Type Description
String

A string value that specifies the action’s context name.

Remarks

<dx:ASPxFloatingActionButton ID="ASPxFloatingActionButton1" runat="server" InitialActionContext="NewItemContext" ClientInstanceName="fab" ContainerElementID="content">
    <ClientSideEvents Init="OnInit" />
    <Items>
        <dx:FABAction ContextName="NewItemContext" Text="New Item">
        </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>
             ...
            </Items>
        </dx:FABActionGroup>
     ...
     </Items>
</dx:ASPxFloatingActionButton>

Note

Refer to the Floating Action Button topic for more information.

See Also