Hello,
I want to set my Handler when a user maximized or reduce a tile, when a MouseUp event is fired.
Which code do I need to enter in my control.Resources ?
For example, this is mine :
<Style TargetType="{x:Type ig:XamTile}" BasedOn="{StaticResource {x:Type ig:XamTile}}"> <EventSetter Event="MouseLeftButtonUp" Handler="MouseLeftClickAction"/> <EventSetter Event="MouseLeftButtonDown" Handler="MouseLeftClickAction"/> <EventSetter Event="MouseDown" Handler="MouseLeftClickAction"/> </Style> <Style TargetType="{x:Type igPrim:TileHeaderPresenter}" BasedOn="{StaticResource {x:Type igPrim:TileHeaderPresenter}}"> <EventSetter Event="MouseLeftButtonUp" Handler="MouseLeftClickAction"/> <EventSetter Event="MouseLeftButtonDown" Handler="MouseLeftClickAction"/> </Style>
How to complete it ?
Regards
Thank you for choosing Infragistics.
I have been looking into your issue and I can suggest you use the TileStateChanged event of the XamTileManager. The TileStateChanged event fires after the state of a XamTile has changed.
For more detailed information on the event, you can take a look at the following link from our online documentation:
http://help.infragistics.com/Help/Doc/WPF/2015.2/CLR4.0/html/InfragisticsWPF4.Controls.Layouts.XamTileManager.v15.2~Infragistics.Controls.Layouts.XamTileManager~TileStateChanged_EV.html
If you require any further assistance on this matter, please do not hesitate to ask.