This is a migrated thread and some comments may be shown as answers.

Change button size and icon on spit button

2 Answers 190 Views
SplitContainer
This is a migrated thread and some comments may be shown as answers.
KFC
Top achievements
Rank 1
KFC asked on 13 Feb 2019, 03:52 PM

Is it possible to 
1. Change the arrow button to something bigger
2. Change mouse to arrow instead of resize

 

Pleas see image

2 Answers, 1 is accepted

Sort by
0
KFC
Top achievements
Rank 1
answered on 13 Feb 2019, 03:52 PM
Image attached now
0
Dimitar
Telerik team
answered on 18 Feb 2019, 09:29 AM
Hello Khurram,

You can change resize cursor to an arrow by changing HorizontalResizeCursor property: 
this.radSplitContainer1.HorizontalResizeCursor = Cursors.Arrow;

In order to increase the size of collapsing arrow button firstly you have to increase SplitterWidth:
this.radSplitContainer1.SplitterWidth = 16;

Then you have to change the arrow primitive scale factor with ScaleTransform property:
this.radSplitContainer1.Splitters[0].NextArrow.ScaleTransform = new SizeF(3,3);
this.radSplitContainer1.Splitters[0].PrevArrow.ScaleTransform = new SizeF(3,3);

Please note that HorizontalResizeCursor property was introduced in Telerik UI for WinForms version R1 2019. 

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
SplitContainer
Asked by
KFC
Top achievements
Rank 1
Answers by
KFC
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or