You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

DropDownButton Class

Represents a dropdown button control.

Namespace: DevExpress.Xpf.Core

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

Declaration

public class DropDownButton :
    DropDownButtonBase
Public Class DropDownButton
    Inherits 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