Skip to main content
All docs
V24.1

BootstrapButtonBootstrapSpecificSettingsBase.RenderOption Property

Specifies Bootstrap-specific styles that can be applied to the editors that contain edit buttons.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(BootstrapRenderOption.Default)]
public BootstrapRenderOption RenderOption { get; set; }

Property Value

Type Default Description
BootstrapRenderOption Default

A BootstrapRenderOption enumeration value.

Available values:

Show 11 items
Name Description
None

The none style is applied to a control. BootstrapRenderOption.None.Field

Default

Default. A control renders with its default styles.

Primary

The primary style is applied to a control. BootstrapRenderOption.Primary.Field

Secondary

The secondary style is applied to a control. BootstrapRenderOption.Secondary.Field

Success

The success style is applied to a control. BootstrapRenderOption.Success.Field

Info

The info style is applied to a control. BootstrapRenderOption.Info.Field

Warning

The warning style is applied to a control. BootstrapRenderOption.Warning.Field

Danger

The danger style is applied to a control. BootstrapRenderOption.Danger.Field

The link style is applied to a control. BootstrapRenderOption.Link.Field

Light

The light style is applied to a control. BootstrapRenderOption.Light.Field

Dark

The dark style is applied to a control. BootstrapRenderOption.Dark.Field

Property Paths

You can access this nested property as listed below:

Object Type Path to RenderOption
BootstrapEditButton
.SettingsBootstrap .RenderOption

Remarks

Button Edit - Render Option

<dx:BootstrapButtonEdit runat="server" Text="Sample Text">
    <ClientSideEvents ButtonClick="OnButtonClick" />
    <Buttons>
        <dx:BootstrapEditButton>
            <SettingsBootstrap RenderOption="Primary" />
        </dx:BootstrapEditButton>
        ...
    </Buttons>
</dx:BootstrapButtonEdit>

Online Demo

See Also