Intersoft ClientUI Documentation
UXSplitButton Class
Members 



Provides a lightweight split button control.
Object Model
UXSplitButton ClassUXContextMenu ClassISFramework ClassStyleSelector ClassDataTemplateSelector ClassStylishLabel Class
Syntax
<ContentPropertyAttribute("Items")>
<DescriptionAttribute("Provides a button control with command and dropdown menu functionality.")>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXMenuItem)>
Public Class UXSplitButton 
   Inherits UXDropDownButton
   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 UXSplitButton
[ContentPropertyAttribute("Items")]
[DescriptionAttribute("Provides a button control with command and dropdown menu functionality.")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXMenuItem)]
public class UXSplitButton : UXDropDownButton, 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  
[ContentPropertyAttribute("Items")]
[DescriptionAttribute("Provides a button control with command and dropdown menu functionality.")]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXMenuItem)]
public ref class UXSplitButton : public UXDropDownButton, 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

UXSplitButton 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 UXSplitButton has the identical features that UXPopup provides such as positioning, hide and display animation, etc.

To learn more about the popup concept, see Popup Overview.

The following example shows how to create a UXSplitButton with several menu items.

XAML
Copy Code
<Intersoft:UXSplitButton 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:UXSplitButton>

To learn more about UXSplitButton, see UXSplitButton Overview.

Example
XAML
Copy Code
<Intersoft:UXSplitButton Content="View Products" 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:UXSplitButton>

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.UXSplitButton
                                       Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonSplitButton
                                       Intersoft.Client.UI.Aqua.UXToolBarButton
                                       Intersoft.Client.UI.Navigation.UXBreadCrumbItem

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

UXSplitButton Members
Intersoft.Client.UI.Aqua Namespace
UXSplitButton

Send Feedback