I'm trying to implement a custom cell editor but I don't know how to preserve some of features seen in the default editors. In my implementation I am inheriting from CellEditor and implementing its EditTemplate
<xcdg:CellEditor.EditTemplate>
<DataTemplate>
<TextBox PreviewKeyDown="TextBox_PreviewKeyDown" Text="{xcdg:CellEditorBinding}" HorizontalAlignment="Right" BorderThickness="0" BorderBrush="Transparent" />
</DataTemplate>
</xcdg:CellEditor.EditTemplate>
Problem 1: Navigation
My controls are based on TextBox and I want it to navigate to the adjact cells when hitting the arrow keys.
Problem 2: Highlighting
In the default editors, the editor selects all the text in the textbox when focus is given to the cell. How do I achieve the same affect?