Back to Devexpress

DialogService.DialogWindowStartupLocation Property

wpf-devexpress-dot-xpf-dot-core-dot-dialogservice-4541cd14.md

latest2.6 KB
Original Source

DialogService.DialogWindowStartupLocation Property

Gets or sets the startup location 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

Declaration

csharp
public WindowStartupLocation DialogWindowStartupLocation { get; set; }
vb
Public Property DialogWindowStartupLocation As WindowStartupLocation

Property Value

TypeDescription
WindowStartupLocation

A WindowStartupLocation enumerator value that specifies the startup location of a displayed dialog window.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the DialogWindowStartupLocation 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#L14

xml
<dxmvvm:Interaction.Behaviors>
    <dx:DialogService DialogWindowStartupLocation="CenterOwner">
        <dx:DialogService.ViewTemplate>

wpf-property-grid-use-data-annotations-to-define-property-editor/CS/PropertyGridEditorAttribute/MainWindow.xaml#L16

xml
<dxmvvm:Interaction.Behaviors>
    <dx:DialogService DialogWindowStartupLocation="CenterOwner">
        <dx:DialogService.ViewTemplate>

See Also

DialogService Class

DialogService Members

DevExpress.Xpf.Core Namespace