additional DataGridColumnHeader?

May 17, 2010 at 1:57 AM
Edited May 17, 2010 at 1:58 AM

there's an additional datagridcolumn created.

if you resize/scale-down your column headers, you can see that new one at the back.

in the visual tree:

Microsoft.Windows.Controls.Primitives.DataGridColumnHeadersPresenter, PART_ColumnHeadersPresenter
 System.Windows.Controls.Grid,
  Microsoft.Windows.Controls.Primitives.DataGridColumnHeader, PART_FillerColumnHeader ** PART_FillerColumnHeader this is new name
   System.Windows.Controls.Grid, 

begin: this whole section is new, our engine use the datagrid as a report engine, this additional stuffs caused issue as there's now additional text came out from the column-headers section.

attempt to explicitly ignore "PART_FillerColumnHeader" will affect entire column-headers.


    Microsoft.Windows.Controls.DataGridHeaderBorder, headerBorder
     System.Windows.Controls.Border,
      System.Windows.Controls.TextBlock, PART_HeaderTextBlock
    System.Windows.Controls.Primitives.Thumb, PART_LeftHeaderGripper
     System.Windows.Controls.Border,
    System.Windows.Controls.Primitives.Thumb, PART_RightHeaderGripper
     System.Windows.Controls.Border, Border
      System.Windows.Controls.Canvas,
       System.Windows.Shapes.Line,

end:

Jun 9, 2010 at 12:20 PM

We are having the same problem. Is there a fix for this?

Sep 24, 2013 at 8:22 AM