Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
UltraActivityIndicator Text Multiline
posted

Hello Team,

I am trying to display multiline text on a  UltraActivityIndicator  as below.

Text1

SomeText

SomeMoreText

I have been trying to find if this control has a Multiline property but could not find any. Hence I tried the below code.

StringBuilder sb= new StringBuilder();  

sb.Append("Text1");
sb.Append(Environment.NewLine);
sb.Append("SomeText");
sb.Append(Environment.NewLine);
sb.Append("SomeMoreText");

ultraActivityIndicator1.Text=sb.ToString();

Seems the Environment.NewLine is not being accepted and the control displays only "Text1" ignoring the new line and next two strings.

Please let me know if there is any work around for Multiline.

Parents Reply Children