wpf-devexpress-dot-xpf-dot-core-dot-dialogservice.md
Gets or sets the style of a displayed dialog window. This is a dependency property.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public Style DialogStyle { get; set; }
Public Property DialogStyle As Style
| Type | Description |
|---|---|
| Style |
A Style that specifies the style of a displayed dialog window.
|
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.
wpf-lookupedit-process-new-values/CS/HowToCreateLookUpEdit/MainWindow.xaml#L21
</dx:DialogService.ViewTemplate>
<dx:DialogService.DialogStyle>
<Style TargetType="Window">
how-to-use-the-wpf-wizardservice/CS/VM-DrivenWizard/MainWindow.xaml#L25
</dx:DialogService.ViewTemplate>
<dx:DialogService.DialogStyle>
<Style TargetType="dx:ThemedWindow">
</dx:DialogService.ViewTemplate>
<dx:DialogService.DialogStyle>
<Style TargetType="Window">
wpf-imageedit-edit-images-in-separate-window/CS/ImageEditToEditModeBehavior/MainWindow.xaml#L22
</dx:DialogService.ViewTemplate>
<dx:DialogService.DialogStyle>
<Style TargetType="Window">
wpf-pivot-grid-obtain-underlying-data/CS/ObtainUnderlyingData/MainWindow.xaml#L17
<dx:DialogService Name="DrillDownTemplate">
<dx:DialogService.DialogStyle>
<Style TargetType="dx:DXDialogWindow">
See Also