Skip to main content

BootstrapFloatingActionButton.ContainerCssSelector Property

Specifies the CSS selector of a container (an HTML element or web control on the page) to associate the Floating Action Button with.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

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

Property Value

Type Default Description
String String.Empty

A string value that specifies the container CSS selector.

Remarks

<%-- Container markup --%>
<div id="default-fab">
  ...
</div>

<%-- FAB markup --%>
<dx:BootstrapFloatingActionButton runat="server" ContainerCssSelector="#default-fab" InitialActionContext="c1">
    <Items>
        <dx:BootstrapFABAction ActionName="a1" ContextName="c1"></dx:BootstrapFABAction>
    </Items>
</dx:BootstrapFloatingActionButton>
See Also