ComboBox.MaxDropDownHeight ComboBox.MaxDropDownHeight ComboBox.MaxDropDownHeight ComboBox.MaxDropDownHeight Property

Definition

Gets or sets the maximum height for a combo box drop-down.

public : double MaxDropDownHeight { get; set; }
double MaxDropDownHeight();

void MaxDropDownHeight(double maxdropdownheight);
public double MaxDropDownHeight { get; set; }
Public ReadWrite Property MaxDropDownHeight As double
<ComboBox MaxDropDownHeight="double"/>

Property Value

double double

The maximum height of the drop-down. The default is infinity.

Remarks

Note

In Windows 8, this property is ignored. If this property is set incorrectly (set to 0, for example) in an app that's compiled for Windows 8, the app might behave incorrectly or crash when it's run in Windows 8.1. You should set this property to a value of 76 or greater to make sure the scroll buttons show and behave correctly when the ComboBox is open.