Quick one folks.
I want editing in my XamNumericEditor to go from Left to Right. I also want the text left justified.
How do I achieve this?
TIA.
This is the PromptChar of a masked editor. You can set it to an empty string or an empty space.
Almost there but not quite. I have this ____________ that proceeds a number a user enters. Is there a way to get rid of it?
With FlowDirection set for LeftToRight and HorizontalContentAlignment set to Left, the underline prefix and my number is half way on the control.
Hello,
You can use the inherited FlowDirection property as well as HorizontalContentAlignment.
XamNumericEditor editor = new XamNumericEditor();
editor.FlowDirection = System.Windows.FlowDirection.LeftToRight;
editor.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Left;