Unable to set TileState = "Maximized"

2 posts, 0 answers
  1. azhar
    azhar avatar
    14 posts
    Member since:
    Jul 2010

    Posted 06 Apr 2011 Link to this post

    Hi Telerik Team,
        Currently I've installed RadControls_for_WPF35_2011_1_0315_Dev.msi (Version : 2011.1.315.35) and I'm not able to use the TileState = "Maximized" property in RadTileViewItem, it shows error in design itself.

    The following is the error it displays:
    Layout measurement override of element 'Telerik.Windows.Controls.TileViewPanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.

    The error comes if the window's height or width is set as "Auto". I didn't face this problem while i was using the version 2010.3.1304.40.

    The following is the code I'm using:

    <Window x:Class="MainWindow"


    Title="MainWindow" Height="Auto" Width="Auto">

    <Grid Height="Auto" Width="Auto">

    <telerik:RadTileView MinimizedItemsPosition="Right" MinimizedColumnWidth="300" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
    <telerik:RadTileViewItem TileState="Maximized"/>



    <telerik:RadTileViewItem />









    Please let me know how to overcome this issue, since I need to set "Auto" for Height and Width in my Application.

    Thanks and Regards,
    Azharshah H

  2. Zarko
    Zarko avatar
    755 posts

    Posted 07 Apr 2011 Link to this post

    Hi azhar,

     The RadTileView can't measure itself with height infinity if there's a maximized item and the minimized position is Left or Right (by design the MaximizedItem fills the space that is given to it and it can't fill Infinity). You'll have to set Height or MaxHeight to the RadTileView or to some of its parents - the Grid or the Window.
    If you have more questions don't hesitate to ask. 

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top