Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ComboBox.MaxDropDownHeight property

Applies to Windows and Windows Phone

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

Syntax

Public Property MaxDropDownHeight As Double

<ComboBox MaxDropDownHeight="double"/>

Property value

Type: System.Double [.NET] | float64 [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

ComboBox

 

 

Show:
© 2014 Microsoft