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
Row added - InitializeRow
posted

Hi,

Is there an event or a virtual method in XamGrid that I can override in to check when a row has been added to the grid. I'm not referring to the newly added/adding rows, but those rows that get materialized when you set the Itemssource for the grid when the grid loads for example. The idea is that I need to some cell's control when that control has been loaded already. Something similar with InitializeRow, but in there, e.Row.Cells[0].Control == null. I need an event similar to this, but a bit later when the cell.Control != null. Is there a way to get there?

Parents
  • 40030
    Offline posted

    Hi Alin, 

    Sounds like you want to use the CellControlAttached event, which fires everytime a Control is attached to a cell or when the cell's value is changed when a control is already attached to that cell. 

    Out of curiosity, what exactly are you trying to do? As there might be a better way to achieve your functionality via ValueConverters and bindings. 

    -SteveZ

Reply Children