Thursday, February 23, 2012

how to get the column index of WPF XamDataGrid selected cell?


private void xamOpenTasksDataGrid_CellActivating(object sender, Infragistics.Windows.DataPresenter.Events.CellActivatingEventArgs e)
        {
            //MessageBox.Show(e.Cell.Value.ToString());
            MessageBox.Show(e.Cell.Field.Index.ToString());
        }

1 comment:

  1. Productivity is never an accident. It is always the result of a commitment to excellence, intelligent planning, and focused effort. See the link below for more info.


    #focused
    www.ufgop.org

    ReplyDelete