ToolStripSplitButton::DropDownButtonWidth Property

 

The width, in pixels, of the drop-down button portion of a ToolStripSplitButton.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property int DropDownButtonWidth {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

An Int32 representing the width in pixels. The default is 11. Starting with the .NET Framework 4.6, the default value is based on the DPI setting of the device running the app.

Exception Condition
ArgumentOutOfRangeException

The specified value is less than zero (0).

.NET Framework
Available since 2.0
Return to top
Show: