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
205
Number of bands changed event handler
posted

Hi, 

is there any way how to catch change of number of grid bands? I add a new data relation dynamically in my code what creates a new band.

Many thanks,

Jan 

  • 37774
    posted

     Jan,

    The PropertyChanged event may fire, though I'm not sure.  If you know where you're adding the new DataRelation, though, why not just do whatever action is required after you set this relation?  In this type of situation, I'd refactor all the relevant logic into a helper method that can be called in several places, should you need to add the relation from different code paths.

    -Matt