Articles in this section
Category / Section

How to set the size for the minimized TileViewitem in the TileViewControl?

1 min read

To set the size for the minimized TileViewItem, you can use the MinimizedItemsPercentage property. When a particular item is maximized, the other items are minimized. The Height and Width of the minimized items can be changed by using the above property. In the following example, the size of the minimized TileViewItem is set to 60. So, when a particular item is maximized, the other minimized items size is set to 60. Refer to the following code example.

XAML

<Grid x:Name="LayoutRoot" >
        <syncfusion:TileViewControl MinimizedItemsPercentage="60"   Name="tileViewControl1">
            <syncfusion:TileViewItem Header="Item 1"  />
            <syncfusion:TileViewItem Header="Item 2" />
            <syncfusion:TileViewItem Header="Item 3" />
            <syncfusion:TileViewItem Header="Item 4" />
        </syncfusion:TileViewControl>
 </Grid>

C#

tileViewControl1.MinimizedItemsPercentage = 60;

 

The following screenshot displays the TileViewItem in normal state.

 

The following screenshot displays the TileViewItem when the MinimizedItemsPercentage is set to 60:

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment