C# Класс Open.Core.UI.Controls.Dialogs.DialogExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AssignAsPresenter ( IAcceptCancelDialog parentDialog, IAcceptCancelPresenter dialogContent ) : void

Описание методов

ContentDialog() публичный статический Метод

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.
Результат IDialogContent

ContentDialog() публичный статический Метод

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.
Результат IDialogContent

ExceptionDialog() публичный статический Метод

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.
Результат IExceptionDialog

QuestionDialog() публичный статический Метод

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.
Результат IQuestionDialog