I've been trying to find a way to keep the alignment of a cell within edit mode consistent and I'm running into some problems. I've got a column whose format is set to decimal with 2 significant figures (xxxxx.xx). When these cells are in edit mode, the alignment changes from centered to right, then reverts back to center after editing. I'm not sure if the prompt char would have to do with this (I've set the prompt char to be '\0') but it seems like the these characters are 'pushing' the cell out of alignment, is there a setting to stop edit mode from re-aligning the cell values, or to turn off the prompt chars completly?
I've attached 2 screenshots to illustrated what I'm talking about. The 'EditMode' titled image is the specific behavrior I want to solve.
Thanks in advance!
Try using the MaskInput property, for more information please refer to the following link: