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