Skip to main content

DialogService.DialogStyle Property

Gets or sets the style of a displayed dialog window. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public Style DialogStyle { get; set; }

Property Value

Type Description
Style

A Style that specifies the style of a displayed dialog window.

Remarks

The DialogService displays different windows based on the TargetType property value of the style assigned to the DialogStyle property:

TargetType Description
dx:ThemedWindow The DialogService displays its content in the ThemedWindow.
dx:DXWindow / dx:DXDialogWindow The DialogService displays its content in the DXDialogWindow.
Window The DialogService displays its content in the ThemedWindow or DXDialogWindow based on the UseThemedWindowInServices property value.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DialogStyle property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also