Articles in this section
Category / Section

How to apply custom style in the WinForms SplitButton?

1 min read

Customization of SplitButton

The appearance of the SplitButton control can be customized by using the Renderer property. The following code example demonstrates the same.

C#

//Initializes the CustomRenderer class.
CustomRenderer renderer = new CustomRenderer();
//Sets the SplitButton custom style.
this.splitButton1.Renderer = renderer;

VB

'Initializes the CustomRenderer class.
Private renderer As New CustomRenderer()
‘Sets the SplitButton custom style.
Me.splitButton1.Renderer = renderer

 

The following screenshot displays the customized SplitButton:

Apply custom style to the split button

 

Reference link: https://help.syncfusion.com/windowsforms/split-button/appearance-customization#customization-of-splitbutton

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied