Change TileViewItem Size with button Click

4 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 27 Aug 2010 Link to this post

    I was wondering is it possible to change the TileViewItem TileState= Max.Min, and Restore with Button click Code From behind?

    Thanks
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 01 Sep 2010 Link to this post

    Hello Rick,

    Thank you for contacting us. You can maximize and restore an item programatically (please see the attached project for further reference). However, programatic minimization is currently not supported. I've logged this issue in our PITS under the name "TileView: Cannot programatically Minimize item" which will be available for tracking tomorrow the latest. We will try to fix it as soon as possible, but I cannot bind to a specific release date. Let me know if you have additional questions or comments regarding this topic. I've also updated your Telerik profile accordingly.

    Sincerely yours,
    Kiril Stanoev
    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 10 Sep 2010 Link to this post

    Kiril,
    Thank you for your help

    .I tried to use same logic for MouseEnter Event, but failed. The TileView name is StartView and the tile name is DoTile.

    In Xaml I set the Mouse Event to a textbox.

    This what it looks like.

        private void DoMax_MouseEnter( object sender, MouseEventArgs e) 
       (this.StartView.Items("DoTile") as RadTileViewItem).TileState = TileViewItemState.Maximized;
       
      xaml:
                <TextBlock x:Name="DoMax" Foreground="White" MouseEnter="DoMax_MouseEnter"  FontSize="44" TextWrapping="Wrap" Width="33.673" FontWeight="Bold" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Margin="0,5.5,14.008,17"><TextBlock.RenderTransform>
        <TransformGroup>
            <ScaleTransform/>
            <SkewTransform/>
            <RotateTransform/>
            <TranslateTransform/>
        </TransformGroup>
    </TextBlock.RenderTransform><Run Text=">"/></TextBlock>


    Thank you kindly

    Thoughts?
  5. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 11 Sep 2010 Link to this post

    Kiril,

    Thank you Problem Solved.
    Thank you again
    Rick
Back to Top