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
265
Expand if I have no header?
posted

Hello,

I like to use the Tile Manager without the headers, with this Forum help i found out how. But now the question,
how can I miximize a current Tile via Code. I can only found a reference of a tile if I have a Item, but when i click of a button inside the Tile i found now
"actualTile" or "currentNode" or whatever.

For example: this work for the fix first Item, but I search the current...

        private void _tm_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            XamTile tileToMaximize = this._tm.TileFromItem(this._tm.Items[0]);
            tileToMaximize.IsMaximized = true;

        }

Thanks for help, and greetings from germany

Thomas

Parents
  • 138253
    Offline posted

    Hello Thomas,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I handled the Click event of the Button I put inside the XamTile and set its Parent’s (which is the XamTile) IsMaximized Property to True. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamTileManagerMaximize.zip
Reply Children