Skip to main content
A newer version of this page is available. .

DevExpress.Mvvm Namespace

Contains controls for building MVVM-aware applications.

Assembly: DevExpress.WinUI.Mvvm.v22.1.dll

NuGet Package: DevExpress.WinUI

Classes

Name Description
AsyncCommand An asynchronous command without a command parameter.
AsyncCommand<T> An asynchronous command whose Execute(T) and CanExecute(T) delegates accept a command parameter of the T type.
BindableBase A ViewModel that supports the INotifyPropertyChanged interface and allows you to use GetProperty and SetProperty methods to implement bindable properties.
CommandBase<T> A base class for the DelegateCommand<T> and AsyncCommand<T> classes.
DelegateCommand A delegate command that implements the ICommand interface and calls your parameterless delegates when Execute and CanExecute logic is invoked on the command.
DelegateCommand<T> A delegate command that implements the ICommand interface and calls your parameterized delegates when Execute and CanExecute logic is invoked on the command.
DispatcherServiceExtensions static Contains the extension method for the IDispatcherService interface.
MessageBoxCommand Specifies a model for message box buttons. The MessageBoxService uses this class.
MessageBoxServiceExtensions static Contains the extension method for the IMessageBoxService interface.
Messenger Implements the IMessenger interface and allows you to exchange messages between application modules.
MessengerExtensions static Contains extension methods for the Messenger class.
SetPropertyHelper static Contains helper methods that allow you to specify a property value.
UIServiceContainer An object that contains services.
UIServiceContainerExtensions static Contains the extension method for the UIServiceContainer class.
ViewModelBase The BindableBase descendant that implements the ISupportUIServices interface and allows you to access UI Services registered within a View.

Interfaces

Name Description
IAsyncCommand An interface that specifies an asynchronous command.
ICommand<T> An interface that specifies a parameterized command.
IDelegateCommand An interface that specifies a command delegate.
IDispatcherService Contains the method that uses the Dispatcher to perform actions in a ViewModel. This interface is implemented in the DispatcherService class.
IMessageBoxService Contains methods to show dialog boxes. This interface is implemented in the MessageBoxService class.
IMessenger Contains methods that send messages and register message handlers. This interface is implemented in the Messenger class.
ISupportUIServices The interface that provides access to a container for DevExpress WinUI MVVM UI Services.
IUIObjectService Provides direct access to a UI element from the view model without referencing the UI element’s real type. This interface is implemented in the UIObjectService class.
IUIServiceContainer Provides direct access to a UI element from the view model without referencing the UI element’s real type. This interface is implemented in the UIObjectService class.

Structs

Name Description
DateTimeRange A structure that specifies a time interval with the [start, end). mathematical formula.
TimeSpanRange The time span range.
ValueAndCount An object that contains a unique value and its count.

Enums

Name Description
ActionReferenceType Lists a reference type of a Messenger action that is invoked when a view recieves the specified message.
DispatcherActionPriority Defines the priority for the Windows.System.DispatcherQueue class.
MessageButton Lists buttons that can be displayed on a message box.
MessageResult Lists possible MessageBox results.