With the SplitButton. We have multiple items in the dropdown menu. What we would like to do is;
If the user click on the button it will activate the default item click event.
If the user click on the little arrow on the right of the button it should expand and show other items in the dropdown.
The problem is that if you click the button it show the dropdown items regardless.
If you implement the click event for the SplitButton, then it doesn't matter where the user click on the button it always execute the SplitButton click event.
In the SplitButton click event, how do you work out if the user click on the button or the little arrow on the right?
I'm using the button in a dialog.
If the user click on the button it will activate the default item click event.
If the user click on the little arrow on the right of the button it should expand and show other items in the dropdown.
The problem is that if you click the button it show the dropdown items regardless.
If you implement the click event for the SplitButton, then it doesn't matter where the user click on the button it always execute the SplitButton click event.
In the SplitButton click event, how do you work out if the user click on the button or the little arrow on the right?
I'm using the button in a dialog.