ToolStripTextBox.ShortcutsEnabled プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As ToolStripTextBox Dim value As Boolean value = instance.ShortcutsEnabled instance.ShortcutsEnabled = value
/** @property */ public boolean get_ShortcutsEnabled () /** @property */ public void set_ShortcutsEnabled (boolean value)
public function get ShortcutsEnabled () : boolean public function set ShortcutsEnabled (value : boolean)
ショートカットを有効にするには true。それ以外の場合は false。

ShortcutsEnabled プロパティを使用すると、次のショートカット キーを有効または無効にできます。
このプロパティをオーバーライドして、他のショートカット キーを指定することもできます。

ToolStripTextBox に対し、ShortcutsEnabled プロパティなど、各種の共通プロパティを設定するための構文を次のコード例に示します。
' This code example demonstrates the syntax for setting ' various ToolStripTextBox properties. ' toolStripTextBox1.AcceptsReturn = True toolStripTextBox1.AcceptsTab = True toolStripTextBox1.AutoCompleteCustomSource.AddRange(New String() {"This is line one.", "Second line.", "Another line."}) toolStripTextBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend toolStripTextBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle toolStripTextBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper toolStripTextBox1.HideSelection = False toolStripTextBox1.MaxLength = 32000 toolStripTextBox1.Name = "toolStripTextBox1" toolStripTextBox1.ShortcutsEnabled = False toolStripTextBox1.Size = New System.Drawing.Size(100, 25) toolStripTextBox1.Text = "STRING1" + ControlChars.Cr + ControlChars.Lf + "STRING2" + ControlChars.Cr + ControlChars.Lf + "STRING3" + ControlChars.Cr + ControlChars.Lf + "STRING4" toolStripTextBox1.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center
// This code example demonstrates the syntax for setting // various ToolStripTextBox properties. // toolStripTextBox1.AcceptsReturn = true; toolStripTextBox1.AcceptsTab = true; toolStripTextBox1.AutoCompleteCustomSource.AddRange(new string[] { "This is line one.", "Second line.", "Another line."}); toolStripTextBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; toolStripTextBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; toolStripTextBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; toolStripTextBox1.HideSelection = false; toolStripTextBox1.MaxLength = 32000; toolStripTextBox1.Name = "toolStripTextBox1"; toolStripTextBox1.ShortcutsEnabled = false; toolStripTextBox1.Size = new System.Drawing.Size(100, 25); toolStripTextBox1.Text = "STRING1\r\nSTRING2\r\nSTRING3\r\nSTRING4"; toolStripTextBox1.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からToolStripTextBox.ShortcutsEnabled プロパティを検索する場合は、下記のリンクをクリックしてください。

- ToolStripTextBox.ShortcutsEnabled プロパティのページへのリンク