Multiline Text in WPF Split Button (SplitButtonAdv)
30 May 20231 minute to read
Multiline text support is used to render text content of the Split Button control in multiple lines for precise view. One can apply the multiline text by using the IsMultiLine property.
NOTE
This property is only applicable for large size mode of the Split Button.
<syncfusion:SplitButtonAdv Label="Sign in with your Syncfusion Account" LargeIcon="image\userlarge.png" SizeMode="Large" IsMultiLine="True"/>
SplitButtonAdv splitbutton = new SplitButtonAdv();
splitbutton.Label = "Sign in with your Syncfusion Account";
splitbutton.IsMultiLine =true;
splitbutton.SizeMode = SizeMode.Large;
splitbutton.SmallIcon = new BitmapImage(new Uri("image\userlarge.png"));