BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Frank,
Thank you for using Syncfusion products.
We would like to let you know that in SplitButton, visual style can be changed by using its “Style” property. And for your reference, SplitButton support Default and Metro style the following code snippet is to demonstrate the same.
C#
//To set SplitButton default style this.splitButton1.Style = Syncfusion.Windows.Forms.Tools.SplitButtonVisualStyle.Default; //To set SplitButton Metro style this.splitButton1.Style = Syncfusion.Windows.Forms.Tools.SplitButtonVisualStyle.Metro; |
Screenshot:
Sample: http://www.syncfusion.com/downloads/support/directtrac/118042/SplitButton314151155.zip
Please let us know if you need any further assistance on this,
Regards,
Saravanan T
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