Hi,
In XamTileManager, i am just applying NormalModeSettings and HorizontalVariable ordering. I have subscribed for XamTileManager_Loaded, XamTile_Loaded & XamTile_SizeChanged events. Tried changing the sizes of XamTile in XamTileManager_Loaded & XamTile_Loaded and its not firing SizeChanged event of XamTile. But if i change the size of a XamTile in SizeChanged event, then it is firing SizeChanged while scrolling.
I am attaching a sample application.
Hello Kumaran,
Thank you for your post. I have been looking into it and the sample you have sent and I can say that this behavior is expected, because when the tiles are not in view they are virtualized and when you scroll, they are rendered again, which cases the SizeChanged event to fire.
Hope this helps you.
Hi Stefan,
Firing the SizeChanged event for the first time is logical. But it fires the event every time i scroll down. Comment the code inside sizechanged event and check, while scrolling the event wont fire.
Thank you for your reply. I have tested your application in both cases: when the code in the SizeChanged event is commented and when it is not commented and the SizeChagned event is firing when you scroll. As Stefan has already explained, the XamTiles are re-drawn when you scroll. When you scroll one of the XamTiles goes out of view and they are unloaded and then, when they are scrolled back into view, the are re-loaded and re-drawn, which causes the SizeChanged event to fire. I am attaching a video that shows that in both cases the event is firing.
If you need any further assistance on the matter, please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for your feedback. Please let me know if you need any further assistance on the matter.
Hello Krasimir,
Thank you for your reply. I am awaiting this feature and hope that i can get it in the next release. I will follow with the ref no.
Tahnk you for your reply. I have been looking into the question that you are having and it seems to be the same as the one that you are having at the following forum thread: http://ko.infragistics.com/community/forums/t/72360.aspx, to which Stefan, has already replied.
Please let me know if you need any further assistance on the matter.
Thanks for your reply. I understand that this is because of virtualization. Now am attaching a sample, in this sample the same is not working. Eventhough i am scrolling, the TileConstraints are changed but the XamTile size is not getting changed. I just want to know, how can i resize the XamTile through code ?
Thanks