Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When a user clicks a toggle button, it appears sunken and retains the sunken appearance until the user clicks the button again.
To create a toggling ToolStripButton
Use code such as the following code example.
[Visual Basic]
toolStripButton.CheckOnClick = True toolStripButton.CheckedChanged AddressOf _ EventHandler(toolStripButton_CheckedChanged);
[C#]
toolStripButton.CheckOnClick = true; toolStripButton.CheckedChanged += new _ EventHandler(toolStripButton_CheckedChanged);