Hello!
I currently work on a project that require us to have a diffrent style on the tiles in normal and maximized mode, much like you can do with datatemplates: ItemTemplateMinimized,ItemTemplateMaximized etc. just with styles. I cant seem to find any workaround for this.
The specific styles am targeting is igPrim:TileHeaderPresenter and ig:XamTile
So i wonder if you guys have any ways of binding up custom styles to the respective states of the tiles?
Hello Fredrik,
Thank you for the feedback. I am very glad that you have managed to solved the issue that you are having. 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
thanks for reply.
I solved the problem like you described by using bool/vis converters on the properties: Minimized,Maximized,NotMinimized and MinimizedExpanded
regards
Hello,
I am just checking if you require any further assistance on the matter.
Thank you for your post. I have been investigating the functionality that you are trying to achieve and I can suggest re-templating the XamTile. In the Template of the XamTile, you can change its appearance by using Storyboards in the VisualStates that the XamTile exposes. You can use Minimized,Maximized,NotMinimized and MinimizedExpanded states in order to implement different appearance of the control, based on its state. Also you can control the Header appearance in the XamTile’s Template, by applying a style for the TileHeaderPresenter element, also using Storyboards. I have created a sample application for you that demonstrates how you can change the appearance of both XamTile and the TileHeaderPresenter in the Minimized state, using an ObjectAnimationUsingKeyFrames and a screenshot of the result.
If you need any further assistance please do not hesitate to ask.