ArrangeOverride Method

ComboBox.ArrangeOverride Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Arranges and sizes the combo box control and its contents.

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

'Declaration
Protected Overrides Function ArrangeOverride ( _
	arrangeBounds As Size _
) As Size

Parameters

arrangeBounds
Type: System.Windows.Size
The size allowed for the combo box control.

Return Value

Type: System.Windows.Size
The actual size of the combo box.

This method determines whether the drop-down portion of the combo box should display above or below the combo box, depending on where the combo box is oriented within the parent control. You can override this method to change this behavior.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft