Skip to main content
A newer version of this page is available. .

DropDownButton Class

Represents a dropdown button control.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.1.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public class DropDownButton :
    DropDownButtonBase

Remarks

The DropDownButton control is a button that displays a dropdown window on click.

dropdownbutton_rangecontrol

The DropDownButton control offers the following features.

  • Custom dropdown content

    You can embed any custom content in the DropDownButton‘s dropdown. The following example demonstrates a TrackBarEdit control embedded in a DropDownButton‘s dropdown.

    <dx:DropDownButton Height="25" Width="175" Content="DropdownButton">
        <dxe:TrackBarEdit Height="30">
            <dxe:TrackBarEdit.StyleSettings>
                <dxe:TrackBarZoomRangeStyleSettings />
            </dxe:TrackBarEdit.StyleSettings>
        </dxe:TrackBarEdit>
    </dx:DropDownButton>
    
  • Customizable button appearance

    The DropDownButton control displays an arrow indicator. The following properties affect the indicator appearance.

See Also