Set TileState to Maximized

2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    9 posts
    Member since:
    Aug 2011

    Posted 12 Jun 2012 Link to this post


    How would I go about setting a TileState to Maximized from a command. Essentially I have a RadGridView with a list of items. Each item represents a tile.

    I would like to fire a command from the celltemplate of a gridviewcolumn and maximize the appropriate tile.

    The tiles and Grid are populated dynamically.

    Many Thanks
  2. Zarko
    Zarko avatar
    755 posts

    Posted 13 Jun 2012 Link to this post

    Hi Jeremy,
    If you want to maximize an item from within it's content you could use the default ToggleTileState command like this:
    <telerik:RadTileView x:Name="tileView" MinimizedColumnWidth="250">
                    <telerik:RadButton Width="160" Height="30" VerticalAlignment="Bottom"
                                    Command="tileView:TileViewCommands.ToggleTileState" Content="Toggle TileState" />
    If you want to maximize an item from somewhere else you'll have to create your own command and maybe bind the TileState of your items to some a property in your business object so that you could change it from the ViewModel on command execute.
    If you need further assistance please feel free to ask.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top