Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1825
Determine Active Tile in XamTileControl
posted

I need a way to determine active Tile in XamTileControl. For XamDockManager I use ActivePaneChanged, is there something in the same lines for XamTilesControl ?

Parents
  • 27093
    posted

    Hello, 

    I have been looking into your enquiry, however the XamTilesControl and its successor, both are not meant to provide active/selected panel functionality. All its panes are meant to functional at all time. If you’d like to check whether a child element of any XamTile I focused you can try out this code snippet:

     

    IInputElement temp= FocusManager.GetFocusedElement(this); 

    XamTile activeTile = Utilities.GetAncestorFromType(temp as DependencyObject, typeof(XamTile), false) as XamTile;

     

    Hope this helps. Please let me know, if you require any further clarification on the matter.

Reply Children
No Data