Search

Cannot style datagridtextColumn Header by Pete Tran

Closed

1
0
Sign in
to vote
Type: Bug
ID: 780793
Opened: 3/6/2013 9:22:05 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I tried to set the font size to datagrid column header but it seemed not to work. Here is my code:
<DataGrid.Resources>            
                <Style TargetType="{x:Type DataGridColumnHeader}">
                     <Setter Property="FontWeight" Value="Normal"></Setter>    
                     <Setter Property="FontSize" Value="6"></Setter>            
                </Style>                                
            
            </DataGrid.Resources>

Do anyone know the issue?

Thanks,
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

<DataGrid.Resources>            
                <Style TargetType="{x:Type DataGridColumnHeader}">
                     <Setter Property="FontWeight" Value="Normal"></Setter>    
                     <Setter Property="FontSize" Value="6"></Setter>            
                </Style>                                
            
            </DataGrid.Resources>

Product Language

English

Operating System

Windows 7 SP1

Operating System Language

English (US)

Actual results

Did not affect.

Expected results

font size of 6.
File Attachments
File Name Submitted By Submitted On File Size  
WPFDemo.zip 3/13/2013 57 KB
Sign in to post a comment.
Posted by Microsoft on 3/28/2013 at 2:19 PM
The WPF team has recently reviewed this issue and will not be addressing this issue as at this time the team is focusing on the bugs impacting the highest number of WPF developers. If you believe that this was resolved in error, please reactivate this bug with any necessary supporting details.

We appreciate the feedback. However, this issue will not be addressed in the next version of WPF. Thank you.
–WPF Team.
Posted by Microsoft on 3/18/2013 at 12:04 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 3/13/2013 at 2:06 AM
I am currently standing by for an update from you and would like to know how things are going on your end. If you could get back to me at your earliest convenience with information I request, we will be able to make headway towards a resolution. I look forward to hearing from you.
Posted by Microsoft on 3/6/2013 at 10:18 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 3/6/2013 at 9:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.