Back to Devexpress

DocumentGroup.ShowDropDownButton Property

wpf-devexpress-dot-xpf-dot-docking-dot-documentgroup-d99ce804.md

latest2.2 KB
Original Source

DocumentGroup.ShowDropDownButton Property

Gets or sets whether the drop-down button is visible within the current DocumentGroup.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool ShowDropDownButton { get; set; }
vb
Public Property ShowDropDownButton As Boolean

Property Value

TypeDescription
Boolean

true if the drop-down button is visible within the current DocumentGroup ; otherwise, false.

|

Remarks

Click the drop-down button to display a popup list of DocumentPanel objects in the current DocumentGroup. An end user can click items in this list to switch between DocumentPanels:

xaml
<Window ...
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager>
    <dxdo:LayoutGroup>
      <dxdo:DocumentGroup MDIStyle="Tabbed" ShowDropDownButton="True">
        <dxdo:DocumentPanel"/>
        <dxdo:DocumentPanel"/>
      </dxdo:DocumentGroup>
    </dxdo:LayoutGroup>
  </dxdo:DockLayoutManager>
</Window>

Note

The drop-down button can be displayed only if the DocumentGroup.MDIStyle property is MDIStyle.Tabbed.

See Also

MDIStyle

DocumentGroup Class

DocumentGroup Members

DevExpress.Xpf.Docking Namespace