ToolStrip::DefaultDropDownDirection Property
.NET Framework (current version)
Gets or sets a value representing the default direction in which a ToolStripDropDown control is displayed relative to the ToolStrip.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property ToolStripDropDownDirection DefaultDropDownDirection { virtual ToolStripDropDownDirection get(); virtual void set(ToolStripDropDownDirection value); }
Property Value
Type: System.Windows.Forms::ToolStripDropDownDirectionOne of the ToolStripDropDownDirection values.
| 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: