Back to Devexpress

FABActionBase.ContextName Property

aspnet-devexpress-dot-web-dot-fabactionbase.md

latest2.4 KB
Original Source

FABActionBase.ContextName Property

Gets or sets a value that specifies the action’s context name.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string ContextName { get; set; }
vb
<DefaultValue("")>
Public Property ContextName As String

Property Value

TypeDefaultDescription
StringString.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:

aspx
<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

Floating Action Button

Online Demo

Floating Action Button - Features

See Also

FABActionBase Class

FABActionBase Members

DevExpress.Web Namespace