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.
Unfortunately, activation email could not send to your email. Please try again.

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

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

Article ID: Published Date: Last Revised Date: Platform: Control:
8653 04/06/2018 04/06/2018 UWP SfTileView
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.