Intersoft ClientUI Documentation
PreferredVerticalDirection Property (UXDropDownButton)



Gets or sets the preferred vertical direction.
Syntax
<CategoryAttribute("Menu")>
Public Property PreferredVerticalDirection As PopupVerticalDirection
Dim instance As UXDropDownButton
Dim value As PopupVerticalDirection
 
instance.PreferredVerticalDirection = value
 
value = instance.PreferredVerticalDirection
[CategoryAttribute("Menu")]
public PopupVerticalDirection PreferredVerticalDirection {get; set;}
[CategoryAttribute("Menu")]
public:
property PopupVerticalDirection PreferredVerticalDirection {
   PopupVerticalDirection get();
   void set (    PopupVerticalDirection value);
}
Remarks

UXDropDownButton has similar properties with UXPopup which controls the dropdown menu position. The following list describes the properties that control the dropdown menu position.

The following examples show how to change the dropdown menu position using the properties above.

XAML
Copy Code
<Intersoft:UXDropDownButton Content="Button" HorizontalAlignment="Center" VerticalAlignment="Center" PreferredPosition="BottomRight" PreferredVerticalDirection="Up">
        <Intersoft:UXMenuItem Header="UXMenuItem"/>
        <Intersoft:UXMenuItem Header="UXMenuItem"/>
        <Intersoft:UXMenuItem Header="UXMenuItem"/>
        <Intersoft:UXMenuItem Header="UXMenuItem"/>
        <Intersoft:UXMenuItem Header="UXMenuItem"/>
</Intersoft:UXDropDownButton>

To learn more about dropdown menu positioning, see Popup Overview.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXDropDownButton Class
UXDropDownButton Members

Concepts

UXDropDownButton

Send Feedback