Hi Frank,
Thank you for your update,
We would like to let you know that, currently we don’t have a direct support for changing different Visual style in SplitButton. But alternately, SplitButton visual style can be customized by using ISplitButtonRenderer. To customize the SplitButton appearance, we need to create new custom renderer class and implement each of the members declared in ISplitButtonRenderer
Following code snippet is to demonstrate the same.
Code Snippet [C#]:
//create new custom renderer public class CustomRenderer : ISplitButtonRenderer { //Implements the members that is declared in ISplitButtonRenderer } CustomRenderer renderer = new CustomRenderer(); //To set SplitButton custom style this.splitButton1.Renderer = renderer;
|
Screenshot:
We have also prepared a work around sample to achieve your requirement and it can be downloaded from the following link.
Sample Link: http://www.syncfusion.com/downloads/support/directtrac/118042/SplitButton_CustomStyle-646845093.zip
UG Link: https://help.syncfusion.com/windowsforms/split-button/appearance-customization
Please let us know if you need any further assistance on this,
Regards,
Saravanan T