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