'宣言 Public ReadOnly Property Location As ToolLocation
public ToolLocation Location {get;}
可能なツール配置は Ribbon、Menu、QuickAccessToolbar、ApplicationMenu、ApplicationMenuFooterToolbar、および ApplicationMenuRecentItems です。
' Create TextEditorTool Dim textEditorTool As New TextEditorTool() textEditorTool.Id = "textEditor" textEditorTool.Caption = "textEditor" ' Add to QAT xamRibbon.QuickAccessToolbar.Items.Add(New QatPlaceholderTool("textEditor", QatPlaceholderToolType.Tool)) Debug.Write("textEditorTool.Location" + textEditorTool.Location)
// Create TextEditorTool TextEditorTool textEditorTool = new TextEditorTool(); textEditorTool.Id = "textEditor"; textEditorTool.Caption = "textEditor"; // Add to QAT xamRibbon.QuickAccessToolbar.Items.Add(new QatPlaceholderTool("textEditor", QatPlaceholderToolType.Tool)); Debug.Write("textEditorTool.Location" + textEditorTool.Location);