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
2815
Left to right editing
posted

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.

 

Parents
No Data
Reply
  • 69686
    posted

    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;

Children