'宣言 Public ReadOnly Property SizingMode As RibbonToolSizingMode
public RibbonToolSizingMode SizingMode {get;}
可能なサイズは次を含みます: ImageOnly、ImageAndTextNormal、ImageAndTextLarge。
' Create TextEditorTool Dim textEditorTool As New TextEditorTool() textEditorTool.Id = "textEditor" textEditorTool.Caption = "textEditor" textEditorTool.KeyTip = "TE" Debug.Write("textEditorTool.SizingMode" + textEditorTool.SizingMode)
// Create TextEditorTool TextEditorTool textEditorTool = new TextEditorTool(); textEditorTool.Id = "textEditor"; textEditorTool.Caption = "textEditor"; textEditorTool.KeyTip = "TE"; Debug.Write("textEditorTool.SizingMode" + textEditorTool.SizingMode);