C# Class Open.Core.UI.Controls.Dialogs.DialogExtensions

Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode Description
ContentDialog ( this dialog, System.Windows.DataTemplate template, INotifyPropertyChanged viewModel, double width, double height ) : IDialogContent

Reveals the specified content within the dialog box.

ContentDialog ( this dialog, IViewTemplate content, double width, double height ) : IDialogContent

Reveals the specified content within the dialog box.

ExceptionDialog ( this dialog, Exception error ) : IExceptionDialog

Reveals the specified exception within an ExceptionDialog content viewer.

QuestionDialog ( this dialog, string title, string text ) : IQuestionDialog

Reveals the specified content within the dialog box.

Private Methods

Méthode Description
AssignAsPresenter ( IAcceptCancelDialog parentDialog, IAcceptCancelPresenter dialogContent ) : void

Method Details

ContentDialog() public static méthode

Reveals the specified content within the dialog box.
public static ContentDialog ( this dialog, System.Windows.DataTemplate template, INotifyPropertyChanged viewModel, double width, double height ) : IDialogContent
dialog this The dialog box.
template System.Windows.DataTemplate The XAML template to render the content with.
viewModel INotifyPropertyChanged The logical representation of the content.
width double The pixel width of the dialog.
height double The pixel height of the dialog.
Résultat IDialogContent

ContentDialog() public static méthode

Reveals the specified content within the dialog box.
public static ContentDialog ( this dialog, IViewTemplate content, double width, double height ) : IDialogContent
dialog this The dialog box.
content IViewTemplate The content to show within the dialog.
width double The pixel width of the dialog.
height double The pixel height of the dialog.
Résultat IDialogContent

ExceptionDialog() public static méthode

Reveals the specified exception within an ExceptionDialog content viewer.
public static ExceptionDialog ( this dialog, Exception error ) : IExceptionDialog
dialog this The dialog box.
error System.Exception The error being shown.
Résultat IExceptionDialog

QuestionDialog() public static méthode

Reveals the specified content within the dialog box.
public static QuestionDialog ( this dialog, string title, string text ) : IQuestionDialog
dialog this The dialog box.
title string The title of the dialog.
text string The text message.
Résultat IQuestionDialog