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
725
selectAllText when entering in editMode
posted

Hi.

I'm using infragistics for windows UI; to program some apps for the windows RT so :

i have a xamGrid and i use the XamNumericInput in each cell; when i enter in edit mode i want to selectall text in the cell

I tried this code :

private void dataGrid_CellEnteredEditMode(object sender, EditingCellEventArgs e)
{
var txt = e.Editor as Infragistics.Controls.Editors.XamNumericInput;
if (txt != null)
{
  txt.SelectAll();
}
}

May be something is wrong.

can you help me to resolve that please.

thx