Skip to main content
All docs
V24.1

BootstrapDropDownEditModalCommandButton Class

The BootstrapDropDownEdit drop-down window’s command buttons.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public class BootstrapDropDownEditModalCommandButton :
    DropDownEditCommandButton

Remarks

In modal mode, the BootstrapDropDownEdit can display the drop-down window’s Apply and Close command buttons that are instances of the BootstrapDropDownEditModalCommandButton class.

To display the corresponding button, set its Visible property to true. You can use the Text property to change the button’s tooltip text.

Apply and Close Buttons

<dx:BootstrapDropDownEdit ID="BootstrapDropDownEdit1" runat="server">
    <SettingsAdaptivity Mode="OnWindowInnerWidth" SwitchToModalAtWindowInnerWidth="1000" />
    <DropDownApplyButton Visible="true" Text="Apply Button" />
    <DropDownCloseButton Visible="true" Text="Close Button" />
    <DropDownWindowTemplate>
        <dx:BootstrapCheckBoxList ID="test" runat="server">
            <Items>
                <dx:BootstrapListEditItem Text="1"></dx:BootstrapListEditItem>
                <dx:BootstrapListEditItem Text="2"></dx:BootstrapListEditItem>
                <dx:BootstrapListEditItem Text="3"></dx:BootstrapListEditItem>
            </Items>
        </dx:BootstrapCheckBoxList>
    </DropDownWindowTemplate>
</dx:BootstrapDropDownEdit>
See Also