Defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
Get
| C# | bool Boolean = object.DropDownDownClick; |
| VB.NET | Boolean = object.DropDownDownClick As Boolean |
| C++ | VARIANT_BOOL Boolean = object->DropDownDownClick; VARIANT_BOOL Boolean = object->GetDropDownDownClick(); |
| C | HRESULT object->get_DropDownDownClick(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.DropDownDownClick As Boolean |
Put
| C# | bool object.DropDownDownClick = Boolean; |
| VB.NET | object.DropDownDownClick = Boolean As Boolean |
| C++ | VARIANT_BOOL object->DropDownDownClick = Boolean; void object->PutDropDownDownClick(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_DropDownDownClick(VARIANT_BOOL Boolean); |
| VB | object.DropDownDownClick = Boolean As Boolean |
object
Boolean
Defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
| Boolean | Description |
|---|---|
| True | The DropDownClick event is fired as the mouse button is pressed. |
| False | The DropDownClick event is fired as the mouse button is released. |
The DropDownDownClick property defines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
The DropDownDblClick event is also affected by this property.
A button control (including a Windows button control) normally doesn't fire the Click event until the mouse button is released. Using the DropDownDownClick property, this behavior can be changed for the drop down button. This is typically used when the drop down button displays a popup menu.
Only the drop down button is affected by this property. There is no equivalent property for the button portion.
See Also SftButton Object | Object Hierarchy