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 turn off the Header Text bolding when a TileViewItem gets the focus?

Platform: WPF |
Control: TileViewControl |
Published Date: April 20, 2015 |
Last Revised Date: April 20, 2015

To set the TileViewItem’s Header Text in normal style, remove the FontWeight in the TileViewItemTemplate. Refer to the following code example.

XAML

The following screenshot displays the TileViewItem’s Header in Bold before removing the Font Weight in the TileViewItem Template.

Figure 1: TileViewItem’s Header in Bold

 

The following screenshot displays the TileViewItem’s Header Text in the normal style after removing the FontWeight in the TileViewItem Template.

Figure 2: TileViewItem’s Header Text in the normal style

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment
Comments
Artur
Feb 24, 2019

The solution provided above works for the header text, but can we also turn off content bolding?

Reply
Subashini Mahendran [Syncfusion]
Mar 28, 2019

Hi Artur,

In TileViewControl, we have set the header TextBlock content as Bold in TileViewItem Template if it is selected item. So, we have suggested to turn off it by customizing item template. But, we are only setting the content for tile view items based on the tiles. The content may be Button, TextBlock etc., and we can directly set the FontWeight in respective content. If we misunderstood your requirement, please provide more information regarding the requirement. It would be more helpful to provide solution as soon as possible.

Regards, Subashini M.

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