IDialogService Interface
An interface for the dialog result which allows for setting Window.DialogResult property from the viewModel.
To use this service you must add the following lines to your xaml:
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Interface IDialogService
public interface IDialogService
public interface class IDialogService
type IDialogService = interface end
public interface IDialogService
The IDialogService type exposes the following members.
Properties
Name | Description | |
---|---|---|
DialogResult | Gets or sets the dialog result value, which is the value that is returned from the ShowDialog method. |
Top
Methods
Name | Description | |
---|---|---|
RequestClose | Closes the window, if Closing event is not canceled. |
Top