I am trying to customize a DataGridColumnHeader to show multiple text fields instead of
showing only the header text provided by DataGridColumn.Header property.
If i didn't miss something, i just have to create a DataTemplate and bind to the…
I'm using grouping in WPF (via PropertyGroupDescription in a CollectionViewSource) and displaying the grouped collection in a bound DataGrid.
Typically (as in this MSDN Example) such a DataGrid will display the column headers, followed by each group…
The FontWeight of my DataGridColumnHeader is fine while developing in visual studio 2017 but once I launch the project, the text for the DataGridColumnHeader becomes faded. This is the same for the DataGridComboBoxColumn. TextColumns work fine…
I have a programmatically created, dynamic DataGrid (.NET 4, WPF). Its header columns are resizeable and movable. Further, I have a kind of a ruler control which has some marks which have to move (and point exactly to the column middle) when the…
I am trying to make a datagrid with a custom header that has a textblock and a button. The textblock and button is represented by this UserControl I created:
What is my goal:
I want to create a custom template for a column header in DataGrid - DataGridColumnHeader. This template is supposed to fetch data from the attached property (in a real program, these will be properties such as: indicator whether…
I've a DataGrid in my C# WPF application and styled the Columns Header with a Label/TextBlock and a TextBox as an instant filter beneath of it.
My target is to fit the width of the TextBox into the width of the DataGridColumn, but I didn't found an…
I have a DataGridView which is populated from a DataTable. I then supplement this with additional DataGridViewImageColumn which will ultimately function as buttons for manipulating the data on any given row.
What I want to know is, is it possible to…
I'm working on a DataGrid with a custom sort implementation and the colomnHeader should display the sort direction, and the sort order.
I'm using MVVM pattern.
In my viewModel, I have an ObservableCollection of my sorters.
Each sorter has a tag,…
In short, the question title says it all. For those that want more detail, here is the crux of my problem: I need to apply a custom ControlTemplate to the DataGridColumnHeader elements in my DataGrid control, but I also need to style them…
I want to add a custom menu item into standard popshow menu, which copies first cell value column and copies to its under cells. It should copy just its under cells.
I searched some things but couldn't find an example how to do. I found some…
I've changed the column header color by default. Now, I want to change the 'sort glyph icon' color in DataGridView of Windows Form C# when it gets sorted:
See the above picture. The column is sorted but icon's color makes it's visibility…