wpf-devexpress-dot-mvvm-dot-ui-e993238c.md
Provides methods to work with a window.
Namespace : DevExpress.Mvvm.UI
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
[TargetType(typeof(UserControl))]
[TargetType(typeof(Window))]
public class CurrentWindowService :
WindowAwareServiceBase,
ICurrentWindowService
<TargetType(GetType(UserControl))>
<TargetType(GetType(Window))>
Public Class CurrentWindowService
Inherits WindowAwareServiceBase
Implements ICurrentWindowService
See Services to learn more.
The following code snippets (auto-collected from DevExpress Examples) contain references to the CurrentWindowService class.
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.
<dxmvvm:Interaction.Behaviors>
<dxmvvm:CurrentWindowService ClosingCommand="{Binding WindowClosingCommand}" />
</dxmvvm:Interaction.Behaviors>
<dxmvvm:Interaction.Behaviors>
<dxmvvm:CurrentWindowService ClosingCommand="{Binding WindowClosingCommand}" />
</dxmvvm:Interaction.Behaviors>
Show 12 items
Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<FrameworkElement> DevExpress.Mvvm.UI.ServiceBaseGeneric<FrameworkElement> ServiceBase DevExpress.Mvvm.UI.WindowAwareServiceBase CurrentWindowService
See Also