datagridtemplatecolumn
Binding of ComboBox is not called for every row in DataGrid
I\'m trying to create combobox inside DataGridTemplateColumn but it should contain different values depending on the row. Here is my code:[详细]
2023-04-12 10:20 分类:问答Click on a datagrid column header impossible
I created a datagrid with dataGridTemplateColumn and I can\'t use the click on header to sort anymore. Here is a sample of my code :[详细]
2023-04-12 09:55 分类:问答DataGridTemplateColumn sizing
I have a WPF app with a DataGrid containing 10 DataGridTemplateColumns. When I bind a collection of objects to the data grid they all display fine in the grid. The only problem is that if I have I mor[详细]
2023-04-08 11:30 分类:问答different kinds of cells in the same column
I need to开发者_开发技巧 render a datagrid with different kinds of cells in the same column. For example, I have a datagrid with a column \"name\" and a column \"value\". Depending on the \"type\" of[详细]
2023-04-06 03:21 分类:问答Silverlight 4.0 : How to get DatagridTemplateColumn Header in code behind
have in XAML a datagridtemplate column <sdk:DataGridTemplateColumn x:Name=\"Urgency\"> <sdk:DataGridTemplateColumn.CellTemplate>[详细]
2023-04-06 00:10 分类:问答DataGridTemplateColumn : Items collection must be empty before using ItemsSource.
Why is the error code : <dg:DataGridName=\"dataGrid\" AutoGenerateColumns=\"False\" HeadersVisibility=\"Column\" SelectedIndex=\"-1\" Margin=\"0,315,0,0\" Background=\"#FF484040\" BorderBrush=\"#F[详细]
2023-03-24 03:53 分类:问答WPF contents of cell of DataGridTemplateColumn
In WPF I have the reference to a DataGridCell and would like to get its contents. I used to have that cell in a DataGridTextColumn and could get at the content like this:[详细]
2023-03-22 23:16 分类:问答How to trigger DataGridevents DataGridBeginningEdit, DataGridCellEditEnding with a Combobox in Silverlight? / CellTemplate for a Combobox
I want to use the DataGridevents (DataGridBeginningEdit, DataGridCellEditEnding, ..etc) to handle and detect changes. As far as I understood, without a \"CellTemplate\" these are not triggered. So I a[详细]
2023-03-22 11:44 分类:问答WPF DataGrid how to set ColumnType to different type based on bound data?
I have \"Preferences\" data structure where I have string \"Value\" field and enum for \"Type\" field.[详细]
2023-03-18 17:10 分类:问答Command binding inside a DataGridTemplateColumn
I am working on a Silverlight application which makes an extensive use of Prism, the MVVM pattern and MEF. For several reasons, I have c开发者_如何学Gohosen to follow a View-first approach.[详细]
2023-03-17 04:21 分类:问答