Multiline Text in WPF Dropdown Button (DropDownButtonAdv)

5 May 20211 minute to read

Multiline text support is used to render text content of the Dropdown 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 Dropdown Button.

<syncfusion:DropDownButtonAdv Label="Sign in with your Syncfusion Account" LargeIcon="image\employee.png" SizeMode="Large" IsMultiLine="True"/>
DropDownButtonAdv dropdownbutton = new DropDownButtonAdv();
dropdownbutton.SizeMode = SizeMode.Large;
dropdownbutton.Label = "Sign in with your Syncfusion Account";
dropdownbutton.IsMultiLine =true;
dropdownbutton.LargeIcon = new BitmapImage(new Uri("image\employee.png"));

Multiline