FABActionBase.ContextName Property
Gets or sets a value that specifies the action’s context name.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string value that specifies the context name. |
Remarks
Use the ContextName property to specify the action’s context name.
The context name can be used to specify:
- the action that should be active when the page is initialized (InitialActionContext);
- the action/action group programmatically (ASPxClientFloatingActionButton.SetActionContext)
<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>
Concept
Online Demo
Floating Action Button - Features
See Also