Skip to end of metadata
Go to start of metadata

IDialogPresenter extensions.

Definition

public static class IDialogPresenterExtensions

Summary

The following table summarizes the members exposed in this class.

Static Methods

ShowAsync<TViewModel>(IDialogPresenter) Show the dialog with the specified ViewModel and a callback.
ShowAsync<TViewModel>(IDialogPresenter, DialogOptions) Show the dialog with the specified ViewModel, options and callback.
ShowAsync<TViewModel>(IDialogPresenter, NavigationParameter, DialogOptions) Show the dialog with the specified ViewModel, navigation parameter, options and callback.
ShowAsync(IDialogPresenter, NavigationTarget, DialogOptions) Shows the async.
ShowAsync<TViewModel>(IDialogPresenter, string, DialogOptions) Show the dialog with the specified ViewModel, navigation target, options and callback.

Static Methods

public static Task<DialogResult> ShowAsync<TViewModel>(IDialogPresenter presenter)

Show the dialog with the specified ViewModel and a callback.

Type Parameters

TViewModel The ViewModel to show.

Parameters

presenter Presenter.

Return Types

Async Task.

public static Task<DialogResult> ShowAsync<TViewModel>(IDialogPresenter presenter, DialogOptions dialogOptions)

Show the dialog with the specified ViewModel, options and callback.

Type Parameters

TViewModel The ViewModel to show.

Parameters

presenter Presenter.
dialogOptions Dialog options.

Return Types

Async Task.

public static Task<DialogResult> ShowAsync<TViewModel>(IDialogPresenter presenter, NavigationParameter parameter, DialogOptions dialogOptions)

Show the dialog with the specified ViewModel, navigation parameter, options and callback.

Type Parameters

TViewModel The ViewModel to show.

Parameters

presenter Presenter.
parameter Parameter.
dialogOptions Dialog options.

Return Types

Async Task.

public static Task<DialogResult> ShowAsync(IDialogPresenter presenter, NavigationTarget target, DialogOptions dialogOptions)

Shows the async.

Parameters

presenter Presenter.
target Target.
dialogOptions Dialog options.

Return Types

Async Task.

public static Task<DialogResult> ShowAsync<TViewModel>(IDialogPresenter presenter, string targetName, DialogOptions dialogOptions)

Show the dialog with the specified ViewModel, navigation target, options and callback.

Type Parameters

TViewModel The ViewModel to show.

Parameters

presenter Presenter.
targetName Target name.
dialogOptions Dialog options.

Return Types

Async Task.
  • No labels