Click or drag to resize

INavigatorTryClose Method

Tries to close a view model associated popup

Namespace:  Cauldron.XAML.Navigation
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
bool TryClose(
	IViewModel viewModel
)

Parameters

viewModel
Type: Cauldron.XAML.ViewModelsIViewModel
The viewmodel to that was assigned to the window's data context

Return Value

Type: Boolean
Returns true if successfully closed, otherwise false
Exceptions
ExceptionCondition
ArgumentNullExceptionParameter viewModel is null
See Also