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
506
Selection Count when in edit mode
posted

Hi,

it's correct that if I am in edit mode in a Cell, that the SelectionitemHolderCount is 0?

I need the selection count is not 0.

It's possible?

  • 69686
    Verified Answer
    posted

    In this case, you can handle the EditModeStarting event and select the cell before entering edit mode:

    void xamDataGrid1_EditModeStarting(object sender, Infragistics.Windows.DataPresenter.Events.EditModeStartingEventArgs e)

            {

                e.Cell.IsSelected = true;      

            }