Skip to main content

BootstrapFABActionBase.TextCssClass Property

Specifies the CSS class of the text displayed for an Action object.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

[DefaultValue("")]
public string TextCssClass { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the name of the CSS class.

Remarks

The Text property specifies the button’s text, and you can use the TextVisibilityMode property to specify the text’s visibility.

  • Hidden – The button text is always hidden.
  • OnHover – The button text is only displayed when users hover the mouse pointer over the Floating Action Button.
  • Always – The button text is always visible.
<dx:BootstrapFloatingActionButton runat="server" ContainerCssSelector="#on-hover-mode" TextVisibilityMode="OnHover">
    <Items>
        <dx:BootstrapFABAction ActionName="action" ContextName="context" Text="Create Item" TextCssClass="fab text-css-class"></dx:BootstrapFABAction>
    </Items>
</dx:BootstrapFloatingActionButton>
See Also