Height of Maximised Tile

3 posts, 0 answers
  1. Alex
    Alex avatar
    17 posts
    Member since:
    Jan 2012

    Posted 23 Jul 2012 Link to this post

    Hello,

    If I have 3 restored tiles and then Maximise one of the tiles, the Maximised tile takes the combined height of the remaining two Minimised tiles which go to the right of my screen. Ideally I want to specify the height of the Maximised tile myself and then the Minimised tiles just scroll on the right hand side and do not dictate the height of the Maximised tile.

    How is this achieved?

    Thanks,

    Alex
  2. Alex
    Alex avatar
    17 posts
    Member since:
    Jan 2012

    Posted 23 Jul 2012 Link to this post

    On your demo this has been achieved by making the Height of the RadTileView the same as MinimisedRowHeight multiplied by the number of minimised tiles you want. In my example I have set the Height of the RadTileView to 390 and the MinimisedRowHeight 130. This gives me a static height of the Maximised tile regardless of how many minimised tiles there are, however 3 minimised tiles fit nicely.

    Is this the best way to achieve this?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 26 Jul 2012 Link to this post

    Hello Alex,
    Currently there are two ways to set the height of a MaximizedItem - to set height to your whole RadTileView (as you've found out) or manually set height to the container of the MaximizedItem like this:
    ...
    if (container.TileState == TileViewItemState.Maximized)
    {
        container.Height = 500;
    }
    ...
    I've attached a sample project showing this so could you please examine it and if you have further questions feel free to ask.

    All the best,
    Zarko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top