ToolStrip::DefaultDropDownDirection Property

 

Gets or sets a value representing the default direction in which a ToolStripDropDown control is displayed relative to the ToolStrip.

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

public:
[BrowsableAttribute(false)]
property ToolStripDropDownDirection DefaultDropDownDirection {
	virtual ToolStripDropDownDirection get();
	virtual void set(ToolStripDropDownDirection value);
}

Exception Condition
InvalidEnumArgumentException

The specified value is not one of the ToolStripDropDownDirection values.

Use the DefaultDropDownDirection property to get or set where a ToolStripDropDown control appears in relation to its container.

The following code example demonstrates the syntax for setting common ToolStrip properties, including the DefaultDropDownDirection property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: