Home Forums WPF controls Xceed DataGrid for WPF Localization of grid

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24450 |

    How do I modify the “Drag a column header …” to a french title or custom header?

    And is it going to be the same for the “Item/Items” term in the group headers.

    Thanks

    Imported from legacy forums. Posted by Marco (had 812 views)

    Xceed Support
    Member
    Post count: 5658

    You can create an implicit style for the GroupByControl and in the style, affect the NoGroupContent property to whatever you want.

    For the group headers, you can create a customized Group implicit DataTemplate that displays the information how you want it:

    <DataTemplate DataType=”{x:Type xcdg:Group}”>
    <TextBlock Text=”Voici mon DataTemplate français!” />
    </DataTemplate>

    You can start from the one availlable in the “themes\Common\Common.Resources.xaml” of the DataGrid for WPF installation folder (3rd resource from the top of the ResourceDictionary ).

    Imported from legacy forums. Posted by Marcus [Xceed] (had 6393 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.