I am trying to display multiline text on a UltraActivityIndicator as below.
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");
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.
Thank you for posting.i created a sample using the code snippet you provided and able to reproduce the issue, i am not able to set
the multiline text on the ultraActivityIndicator.
I am going to discuss this matter with the development team and update you when i hear back from them, checking if there is any other way to achieve it.
Meanwhile, if you have any further question or concern please let me know.
Thank you Divya. I will wait for your update.
Thank you for the patience, I discussed the matter with the developer and found that we do not have built-in support for multi-line text in the UltraActivityIndicator . But as a workaround, you can use CreationFilter and set Multiline property to its TextUIElemensomethingine like explained here.
Please let me know if you need further assistance.
Sincerely,Divya JainAssociate Software Developer
It worked as a charm. Thank you for the followup and providing a workaround. I appreciate your support.
Hopefully you guys may think of incorporating the built-in support for multi-line text in future releases.
Thank you for the update that my workaround helped to achieve your requirement.