Table of Contents
EO.Wpf SplitButton

EO.Wpf SplitButton has the same programming interface and functions almost identical to an DropDownButton, except that the button is divided into two halves: the left half functions like a regular push button and the right half functions like a drop down button. The following sample demonstrates how to use a SplitButton:

<Window x:Class="Test.Window1"
        <eo:SplitButton Width="220" HorizontalAlignment="Left" Click="SplitButton_Click">
                    <StackPanel Margin="3" Width="100">
                        <TextBlock TextWrapping="Wrap">
                            This is a sample drop down used by a SplitButton.
            Click Me To Open The Drop Down

The above code is almost identical to the sample code found here for EO.Wpf DropDownButton, the only difference being the class name in this sample is SplitButton instead of DropDownButton. This sample produces the following result:

Note the little drop down arrow on the right side of the button. Clicking this drop down arrow triggers the drop down, clicking other area of the button functions as a regular button and triggers a button click event.