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)

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
Public property DialogResult Gets or sets the dialog result value, which is the value that is returned from the ShowDialog method.

Top

Methods

  Name Description
Public method RequestClose Closes the window, if Closing event is not canceled.

Top

See Also

Reference

Microsoft.TeamFoundation.MVVM Namespace