Back to Devexpress

ASPxFloatingActionButton.ContainerElementID Property

aspnet-devexpress-dot-web-dot-aspxfloatingactionbutton-5aa55ef9.md

latest2.0 KB
Original Source

ASPxFloatingActionButton.ContainerElementID Property

Specifies the ID of the HTML element or web control on the page.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

A string value that specifies the container element ID.

|

Remarks

Use the ContainerElementID property to associate the floating action button with any HTML element or web control on a page. The floating action button will be displayed in front of the container.

Note

The HTML element or a web control should be positioned relative to its normal position.

aspx
<style type="text/css">
    #content {
        position: relative;
    }
</style>
...
<div id="content">
...
</div>

Concept

Online Demo

Floating Action Button - Features

See Also

ASPxFloatingActionButton Class

ASPxFloatingActionButton Members

DevExpress.Web Namespace