I have an application that I am upgrading from v11.1 to v12.2. We have some DataTemplates that can trigger behavior in a containing Tile. For example:
TextDecorations="{x:Null}" Foreground="{StaticResource SPS.BlackText}" Command="{x:Static ig:XamTile.ToggleMaximizedCommand}" CommandParameter="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ig:XamTile}}}">
With v12.2 there is no longer a static command that I can bind this control's command to. The Infragistics.Commanding.Command does not support assigning this command to a Hyperlink.
Please suggest an alternative way to bind the hyperlink's Command to its parent Tile's ToggleMaximizedCommand.
Hello,
Thank you for your post. I have been looking into it and I can suggest you see the sample in the Samples Browser under xamTilesManager / Organization / Tiles States section, where it is shown how to use TileCommandSource. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thank you, Stefan. However, Note that I am assigning the command to a Hyperlink. When I do this, I get an error from the AttachedProperty saying "Property 'Command' is not attachable to elements of type Hyperlink".