DevZest.WpfDocking by DevZest

<PackageReference Include="DevZest.WpfDocking" Version="2.5.0" />

 DropDownButton

public class DropDownButton : Button
Represents a button that drops down a context menu.
public static readonly DependencyProperty DropDownProperty

Identifies the DropDown dependency property.

Identifies the IsDropDownOpen dependency property.

public ContextMenu DropDown { get; set; }

Gets or sets the drop down ContextMenu. This is a dependency property.

public bool IsDropDownOpen { get; }

Gets a value that indicates whether the drop down ContextMenu is visible. This is a dependency property.

public DropDownButton()