C# 클래스 Open.Core.UI.Controls.Dialogs.DialogExtensions

파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
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