开发者

setting ToolStripSplitButton.DropDownButtonWidth to 0

开发者 https://www.devze.com 2023-01-16 17:34 出处:网络
I want to use ToolStripSplitButton as a button only (no drop down menu) in my StatusStrip. For this reason i want to not display the little arrow, but i 开发者_C百科can\'t do this.

I want to use ToolStripSplitButton as a button only (no drop down menu) in my StatusStrip.

For this reason i want to not display the little arrow, but i 开发者_C百科can't do this.

Tried do this with setting ToolStripSplitButton.DropDownButtonWidth to 0, and it works successfull in windows 7 but not in windows xp.

how to get rid of the little arrow?


Use the ToolStripDropDownButton instead of the ToolStripSplitButton. The ToolStripDropDownButton has a property ShowDropDownArrow which will allow you to hide the drop down arrow.

0

精彩评论

暂无评论...
验证码 换一张
取 消