Export (0) Print
Expand All

IDialogService Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

public interface IDialogService

The IDialogService type exposes the following members.

  NameDescription
Public propertyDialogResultGets or sets the dialog result value, which is the value that is returned from the ShowDialog method.
Top

  NameDescription
Public methodRequestCloseCloses the window, if Closing event is not canceled.
Top
Show:
© 2014 Microsoft