IWebMatrixHost.ShowDialog メソッド (String, UIElement, DialogSize, MessageBoxButton, MessageBoxResult, array<ICommand )
v2 に適用されます。
コマンドでダイアログ コマンドを表示するかどうかを表す値を示します。
名前空間: 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。