Back to Devexpress

BootstrapFloatingActionButton.ContainerCssSelector Property

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-dot-bootstrapfloatingactionbutton-3dd8ce5a.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web.Bootstrap

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

A string value that specifies the container CSS selector.

|

Remarks

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

BootstrapFloatingActionButton Class

BootstrapFloatingActionButton Members

DevExpress.Web.Bootstrap Namespace