Share via


ComboBox.ArrangeOverride Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Arranges and sizes the combo box control and its contents.

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

Syntax

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

Parameters

Return Value

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

Remarks

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 Silverlight control. You can override this method to change this behavior.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.