Multiline Text in WPF Button (ButtonAdv)
4 May 20211 minute to read
Multiline support is used to render text content of the Button control in multiple lines for precise view. One can apply the multiline text by using the IsMultiLine property.
This property is only applicable for large size mode button.
<syncfusion:ButtonAdv x:Name="ButtonAdv" IsMultiLine="True" LargeIcon="image1/employee.png" Label="Sign in with your Syncfusion Account" SizeMode="Large" />
ButtonAdv button = new ButtonAdv(); button.SizeMode = SizeMode.Large; button.LargeIcon = new BitmapImage(new Uri("employee.png")); button.IsMultiLine="true"; button.Label = "Sign in with your Syncfusion Account";