Custom header

Posted by: lukas.92 on 12 October 2017, 7:38 am EST

    • Post Options:
    • Link

    Posted 12 October 2017, 7:38 am EST

    Hi everyone

    Do I able to define a template for the column header? because my header should consist cobobox and textblock. The same way how it does in MS Datagrid.

  • Posted 12 October 2017, 5:15 pm EST

    Hi,

    You can modify the template for DataGridColumnHeaderPresenter based on your requirement.

    See the attached sample application.

    For more info about changing the DataGridColumnHeaderPresenter, go through the “DataGridColumnHeaderPresenter.xaml” file installed at (C:\Program Files (x86)\ComponentOne\WPF Edition\C1WPFDataGrid.4\XAML).

    WPF_C1DataGrid_CustomHeaderTemplate.zip

    Thanks,

    Singh Sonu

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels