We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to access the element inside the maximized item template in SfTileView?

Platform: UWP |
Control: SfTileView |
Published Date: April 6, 2018 |
Last Revised Date: April 6, 2018

We can retrieve the element in the MaximizedItemTemplate of SfTileViewItem using GetChild() method of VisualTreeHelper class. For instance, we have retrieved the border(“MaximizedItemBorder”) element from the MaximizedTileItem template and change the background color of the element. The following code illustrate the same,

Template for MaximizedTileItem:

 

MainPage.xaml:

 

Method to get the required element:

 

Method to change the background of the Border element:

 

Sample : http://www.syncfusion.com/downloads/support/directtrac/general/ze/TileViewSample_MaximizedItemTemplate-1710628963.zip

2X faster development

The ultimate UWP UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon