Multiline Text in WPF Button (ButtonAdv)

18 Nov 20181 minute to read

The WPF Button control supports rendering text across multiple lines. The WPF Button is implemented through the ButtonAdv class. You can enable multiline text by using the IsMultiLine property.

This property is applicable only when the WPF Button is in large size mode.

<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";

WPF Button MultiLine