Home Forums WinForms controls Xceed Grid for WinForms NumberCellEditor editing aligmment Reply To: NumberCellEditor editing aligmment

User (Old forums)
Member
Post count: 23064

You could just create 1 editor, and reuse it for all the columns:<pre>GridNumericTextBox editor = new GridNumericTextBox();
editor.TextAlign = HorizontalAlignment.Right;
col1.Editor = editor;
col2.Editor = editor;
…</pre>

Imported from legacy forums. Posted by Tommy (had 3946 views)