Intersoft ClientUI Documentation
UXRibbonDropDownButton Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXRibbon Namespace : UXRibbonDropDownButton Class






Provides a button control with dropdown menu functionality.

Object Model

UXRibbonDropDownButton Class

Syntax

Visual Basic (Declaration) 
Public Class UXRibbonDropDownButton 
   Inherits UXRibbonDropDownButtonBase
   Implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocusIRibbonControlIRibbonKeyTipAction 
Visual Basic (Usage)Copy Code
Dim instance As UXRibbonDropDownButton
JScript 
public class UXRibbonDropDownButton extends UXRibbonDropDownButtonBase implements IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocusIRibbonControlIRibbonKeyTipAction 
Managed Extensions for C++ 
public __gc class UXRibbonDropDownButton : public UXRibbonDropDownButtonBase, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocusIRibbonControlIRibbonKeyTipAction  
C++/CLI 
public ref class UXRibbonDropDownButton : public UXRibbonDropDownButtonBase, IControlIFramework, ILicensing, INavigationSourceINavigationSupportICommandSourceIKeyboardFocusIRibbonControlIRibbonKeyTipAction  

Remarks

Derived from UXDropDownButton, UXRibbonDropDownButton 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. To learn more about UXDropDownButton, see UXDropDownButton Overview.

XAML Copy Code
<Intersoft:UXRibbonTabGroup Name="NewGroup" Header="New">
    <Intersoft:UXRibbonDropDownButton Content="Paste" MinimumSize="Large" 
        LargeIcon="/assets/icons/paste.png" 
        Icon="/assets/icons/paste.png">
        <Intersoft:UXRibbonMenuItem Header="Paste Special..." />
        <Intersoft:UXRibbonMenuItem Header="Set Default Paste..." />
    </Intersoft:UXRibbonDropDownButton>
    <Intersoft:UXRibbonDropDownButton Content="New Items" MaximumSize="Medium" 
        LargeIcon="/assets/icons/new_items.png" 
        Icon="/assets/icons/new_items.png">
    </Intersoft:UXRibbonDropDownButton>
    <Intersoft:UXRibbonDropDownButton Content="Junk" MaximumSize="Medium" 
                LargeIcon="/assets/icons/junk.png"
        Icon="/assets/icons/junk.png" />
</Intersoft:UXRibbonTabGroup>

The result looks like the following figure.

To learn more about ribbon controls, see Working with Ribbon Controls.

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.UXRibbonDropDownButtonBase
                                       Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonDropDownButton

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.