ThemedWindow.ControlBoxButtonSet Property

Gets or sets buttons displayed in the window control box.

Namespace: DevExpress.Xpf.Core

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

Declaration

public ControlBoxButtons ControlBoxButtonSet { get; set; }
Public Property ControlBoxButtonSet As ControlBoxButtons

Property Value

Type Description
ControlBoxButtons

A ControlBoxButtons enumeration

Remarks

The following code example demonstrates how to display only the Close and Maximize/Restore control box buttons.

<dx:ThemedWindow
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  ControlboxButtonSet="Close,MaximizeRestore">
    ...
</dx:ThemedWindow>

The following image illustrates the result:

ThemedWindow ControlboxButtonsSet Property Result

See Also