Hi,
Could you explain the LayoutUpdated event. Specifically when it gets called.
I've hooked up this event and it seems to be called by strange sources.
The situation:
My application has a RibbonBar, a RadWindow (which I attach the LayoutUpdated event to) and a UserControl inside that RadWindow.
The UserControl takes sometime to load (because it communicates with a database) - so I want this LayoutUpdated to fire once all the content is loaded then I can center and size the RadWindow correctly.
This seemed to work fine however when I checked to see when my LayoutUpdated event handler gets called, it was being called on some strange events like when I simply mouse over the RibbonBar!
I only really want my event handler to be called once - after the data has loaded. Could you help? is there an event I've overlooked that accomplishes this? or a way of tailoring my LayoutUpdated event handler to detect only the correct situation?
Thanks
Could you explain the LayoutUpdated event. Specifically when it gets called.
I've hooked up this event and it seems to be called by strange sources.
The situation:
My application has a RibbonBar, a RadWindow (which I attach the LayoutUpdated event to) and a UserControl inside that RadWindow.
The UserControl takes sometime to load (because it communicates with a database) - so I want this LayoutUpdated to fire once all the content is loaded then I can center and size the RadWindow correctly.
This seemed to work fine however when I checked to see when my LayoutUpdated event handler gets called, it was being called on some strange events like when I simply mouse over the RibbonBar!
I only really want my event handler to be called once - after the data has loaded. Could you help? is there an event I've overlooked that accomplishes this? or a way of tailoring my LayoutUpdated event handler to detect only the correct situation?
Thanks