ViewModelClosedEventArgs

Name Value
Assembly Catel.MVVM
Namespace Catel.MVVM
Available on .NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS
public class ViewModelClosedEventArgs : EventArgs

Base types EventArgs

implementation for the ClosedAsync event.

Constructors

ViewModelClosedEventArgs(IViewModel viewModel, Nullable<bool> result)

Initializes a new instance of the ViewModelClosedEventArgs class.

Parameters

Name Description
viewModel The view model.
result The result to pass to the view. This will, for example, be used asDialogResult.

Exceptions

Name Description
ArgumentNullException The viewModel isnull.

Properties

Result

Gets the result to pass to the view. This will, for example, be used asDialogResult

ViewModel

Gets the view model.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion