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.

ControlBoxButtons Enum

Lists the ThemedWindow's control box buttons.

Namespace: DevExpress.Xpf.Core

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

Declaration

[Flags]
public enum ControlBoxButtons
<Flags>
Public Enum ControlBoxButtons

Members

Name Description
None

The themed window displays no control buttons (Close, Minimize, Maximize).

Close

A Close button.

MaximizeRestore

Maximize and Restore buttons.

Minimize

A Minimize button.

Related API Members

The following properties accept/return ControlBoxButtons values:

Remarks

This enumeration is used by the ThemedWindow.ControlBoxButtonSet property.

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