Intersoft ClientUI Documentation
UXDropDownButton Class
Members 



Provides a lightweight drop down button control.
Object Model
UXDropDownButton ClassUXContextMenu ClassISFramework ClassStyleSelector ClassDataTemplateSelector ClassStylishLabel Class
Syntax
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXMenuItem)>
<ContentPropertyAttribute("Items")>
<StyleTypedPropertyAttribute(Property="DropDownMenuStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXContextMenu)>
<DescriptionAttribute("Provides a button control with dropdown menu functionality.")>
Public Class UXDropDownButton 
   Inherits UXButtonItems
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.Input.ICommandSourceIntersoft.Client.Framework.Input.IKeyboardFocus 
Dim instance As UXDropDownButton
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXMenuItem)]
[ContentPropertyAttribute("Items")]
[StyleTypedPropertyAttribute(Property="DropDownMenuStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXContextMenu)]
[DescriptionAttribute("Provides a button control with dropdown menu functionality.")]
public class UXDropDownButton : UXButtonItems, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.Input.ICommandSourceIntersoft.Client.Framework.Input.IKeyboardFocus  
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXMenuItem)]
[ContentPropertyAttribute("Items")]
[StyleTypedPropertyAttribute(Property="DropDownMenuStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXContextMenu)]
[DescriptionAttribute("Provides a button control with dropdown menu functionality.")]
public ref class UXDropDownButton : public UXButtonItems, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.INavigationSourceIntersoft.Client.Framework.INavigationSupportIntersoft.Client.Framework.Input.ICommandSourceIntersoft.Client.Framework.Input.IKeyboardFocus  
Remarks

UXDropDownButton is an advanced button control that represents one or more commands in the form of dropdown menu. This dropdown menu is created using UXContextMenu control which uses UXPopup as its fundamental architecture.

Consequently, the dropdown menu of UXDropDownButton has similar features that UXPopup provides, such as positioning, hide and display animation, etc.

To learn more about the popup mechanism see Popup Overview.

Example
XAML
Copy Code
<Intersoft:UXDropDownButton Content="Select Product" HorizontalAlignment="Left" VerticalAlignment="Top">
    <Intersoft:UXMenuItem Header="Beverages">
        <Intersoft:UXMenuItem Header="Ikura"/>
        <Intersoft:UXMenuItem Header="Konbu"/>
        <Intersoft:UXMenuItem Header="Carnarvon Tigers"/>
        <Intersoft:UXMenuItem Header="Escargots de Bourgogne"/>
    </Intersoft:UXMenuItem>
    <Intersoft:UXMenuItem Header="Seafood">
        <Intersoft:UXMenuItem Header="Chai"/>
        <Intersoft:UXMenuItem Header="Chang"/>
        <Intersoft:UXMenuItem Header="Sasquatch Ale"/>
        <Intersoft:UXMenuItem Header="Ipoh Coffee"/>
    </Intersoft:UXMenuItem>
</Intersoft:UXDropDownButton>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  System.Windows.Controls.Primitives.ButtonBase
                     System.Windows.Controls.Button
                        Intersoft.Client.Framework.ISButton
                           Intersoft.Client.UI.Aqua.UXButton
                              Intersoft.Client.UI.Aqua.UXButtonItems
                                 Intersoft.Client.UI.Aqua.UXDropDownButton
                                    Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonApplicationMenu
                                    Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonDropDownButtonBase
                                    Intersoft.Client.UI.Aqua.UXSplitButton

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 Members
Intersoft.Client.UI.Aqua Namespace

Concepts

UXDropDownButton
Popup Overview
Commanding Overview
Navigation Overview

Send Feedback