IWebMatrixHost.ShowDialog 메서드 (String, UIElement, DialogSize, MessageBoxButton, MessageBoxResult, array<ICommand )
버전 2에 적용
명령에 대화 상자 명령이 표시되는지 여부에 대한 값을 나타냅니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Function ShowDialog ( _
title As String, _
content As UIElement, _
dialogSize As DialogSize, _
buttons As MessageBoxButton, _
defaultButton As MessageBoxResult, _
buttonCommands As ICommand() _
) As Nullable(Of Boolean)
‘사용 방법
Dim instance As IWebMatrixHost
Dim title As String
Dim content As UIElement
Dim dialogSize As DialogSize
Dim buttons As MessageBoxButton
Dim defaultButton As MessageBoxResult
Dim buttonCommands As ICommand()
Dim returnValue As Nullable(Of Boolean)
returnValue = instance.ShowDialog(title, _
content, dialogSize, buttons, defaultButton, _
buttonCommands)
Nullable<bool> ShowDialog(
string title,
UIElement content,
DialogSize dialogSize,
MessageBoxButton buttons,
MessageBoxResult defaultButton,
ICommand[] buttonCommands
)
Nullable<bool> ShowDialog(
String^ title,
UIElement^ content,
DialogSize dialogSize,
MessageBoxButton buttons,
MessageBoxResult defaultButton,
array<ICommand^>^ buttonCommands
)
abstract ShowDialog :
title:string *
content:UIElement *
dialogSize:DialogSize *
buttons:MessageBoxButton *
defaultButton:MessageBoxResult *
buttonCommands:ICommand[] -> Nullable<bool>
function ShowDialog(
title : String,
content : UIElement,
dialogSize : DialogSize,
buttons : MessageBoxButton,
defaultButton : MessageBoxResult,
buttonCommands : ICommand[]
) : Nullable<boolean>
매개 변수
title
유형: System.String대화 상자의 제목입니다.
content
유형: System.Windows.UIElement대화 상자의 내용입니다.
dialogSize
유형: Microsoft.WebMatrix.Extensibility.DialogSize대화 상자 해상도입니다.
buttons
유형: System.Windows.MessageBoxButton상자의 단추입니다.
defaultButton
유형: System.Windows.MessageBoxResult기본 단추입니다.
buttonCommands
유형: array<System.Windows.Input.ICommand[]단추 명령입니다.
반환 값
유형: System.Nullable<Boolean>
명령에 대화 상자가 표시되면 true이고, 그렇지 않으면 false입니다.