I am working on an application that generates a user defined form. One of the requirements is:
Allow the form designer to set the max number of characters that can be entered into a XamTextEditor. During data entry, make the XamTextEditor the appropriate size for the max number of characters.
Example:
XamTextEditor A’s max length = 32 chars
XamTextEditor B’s max length = 1 char
XamTextEditor C’s max length = 10 chars
When these XamTextEditor are displayed, A needs to be long enough to hold 32 characters, B only 1, C only 10. It is ok if they are a bit wide, like 34, 3, and 12 respectfully. How would one go about figuring how wide to make the XamTextEditores?
Sam