Hi,
I’m trying to only allow certain character in some columns (for example no letter in a columns). I’ve manage to do this easily but getting access to the TextBox’s event in the PreparingCellForEdit event.
My issue is that it does not cover the TextInput EditTrigger value, since it that will overwrite the previous value of the field. I’ve managed to get the value (the letter that was typed) from the EditingEventArgs property of the GridViewPreparingCellForEditEventArgs in the PreparingCellForEdit event by casting it to a TextCompositionEventArgs and then reading the Text property but by then, cancelling the event doesn’t not prevent the editor from being display.
Is there a better solution? Ideally I would need the TextInput EditTrigger value in the BeginningEdit event.
Thanks