Articles in this section
Category / Section

How to hide header of minimized items in TileViewControl?

1 min read

This article demonstrates the way to hide headers of minimized items in WPF TileViewControl.

HeaderVisibility

To collapse the header of TileViewItem, use HeaderVisibility property. Use TileViewItemState property to check the state of an item.

The following code example demonstrates the same using Style Triggers:

XAML

<syncfusion:TileViewControl>
            <syncfusion:TileViewControl.ItemContainerStyle>
                <Style TargetType="syncfusion:TileViewItem">
                    <Style.Triggers>
                        <Trigger Property="TileViewItemState" Value="Minimized">
                            <Setter Property="HeaderVisibility" Value="Collapsed"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </syncfusion:TileViewControl.ItemContainerStyle>
            <syncfusion:TileViewItem Header="TileViewItem 1" Content=" TileViewItem 1"/>
            <syncfusion:TileViewItem Header="TileViewItem 2" Content=" TileViewItem 2"/>
            <syncfusion:TileViewItem Header="TileViewItem 3" Content=" TileViewItem 3"/>
            <syncfusion:TileViewItem Header="TileViewItem 4" Content=" TileViewItem 4"/>
            <syncfusion:TileViewItem Header="TileViewItem 5" Content=" TileViewItem 5"/>            
        </syncfusion:TileViewControl>

 

The following screenshot illustrates the output of the above code example

WPF TileView output


Conclusion

I hope you enjoyed learning about how to hide header of minimized items in TileViewControl.

You can refer to our WPF TileViewControl feature tour page to know about its other groundbreaking feature representations and documentation. You can also explore our WPF TileView Example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

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