This is a migrated thread and some comments may be shown as answers.

Change TileViewItem Size with button Click

3 Answers 82 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 27 Aug 2010, 10:30 PM
I was wondering is it possible to change the TileViewItem TileState= Max.Min, and Restore with Button click Code From behind?

Thanks

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 01 Sep 2010, 02:56 PM
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
0
Rick Mueller
Top achievements
Rank 1
answered on 10 Sep 2010, 04:31 PM

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?
0
Rick Mueller
Top achievements
Rank 1
answered on 11 Sep 2010, 07:03 PM
Kiril,

Thank you Problem Solved.
Thank you again
Rick
Tags
TileView
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Rick Mueller
Top achievements
Rank 1
Share this question
or