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
965
Obtaining the AddNewRow
posted

Hi guys,

I am in a class derived from XamGrid and I want to obtain the AddNewRow instance, after which I want to access its cells. It is not in the Rows collection, please tell me, how can I obtain it?

Alin

 

  • 40030
    Verified Answer
    Offline posted

    Hi Alin, 

    If you're deriving from the XamGrid, you can use the RowsManager property off of it. 

    this.RowsManager.AddNewRowTop

    Hope this helps, 

    -SteveZ

  • 965
    posted

    Forgot to mention, I don't want to obtain it in an event handler because I use it in another event handler (is a PropertyChanged event handler inside the grid for properties belonging to the model - I really need to do this way).

     

    Thanks!