Articles in this section

How to avoid TileViewItem getting maximized when a TileViewControl with only one child is present?

ShareSpace property

Default value of the ShareSpace property is true.

When you add only one item in the TileViewControl, the TileViewItem is maximized by default. To avoid this behavior you can set the ShareSpace property of TileViewItem to false.

XAML

<syncfusion:TileViewControl   x:Name="tile" >
            <syncfusion:TileViewItem x:Name="item"
ShareSpace="False" Header="Header1"></syncfusion:TileViewItem>
        </syncfusion:TileViewControl>

C#

Example:
item.ShareSpace = false;

The above code is used to set the ShareSpace property and the screenshot is as follows.

Figure 1: ShareSpace property of TileViewItem set to false.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied