New and improved DataGrid control for Windows Presentation Foundation (WPF) applications. Can be bound to a multitude of datasources. Flexible, programmable rendering options to match custom user interfaces.
0
votes
0answers
4 views
How to access datagrid template column textbox text WPF C#
I need to access the text in datagrids template column from code behind, but I don't know how. I need to change the text to whatever string I pass to it on SelectionChanged event. Can someone please ...
0
votes
1answer
17 views
CurrentCellChanged on cell changed only
I'm currently writing a WPF application where my DataGrid is bound to a collection of objects. I need an event that triggers when the user changes cells. This works fine when I have more than 1 ...
0
votes
0answers
5 views
How to prevent DataGrid getting locked(ReadOnly) on validation error
on deleting row containing validation error the DataGrid becoming locked and readonly .how to prevent DataGrid getting locked(ReadOnly) on validation error
0
votes
0answers
11 views
calculated columns into wpf DataGrid and t4 template
I opened a new WPF project in VS2012 .NET 4.5 and I added an ADO.NET Entity Data Model then Generate from database ...
I added to the main window The code below
<DataGrid x:Name="dg" ...
0
votes
1answer
13 views
Passing parameters to a Page using constructors
In my application I have two pages placed on a Navigation Window.
Page 1 the Main Page and has three buttons on top ( like a ribbon menu) and a Frame ( on second half of the page to navigate within ...
0
votes
1answer
43 views
WPF Binding: cannot resolve symbol due to unknown datacontext
I try to bind a CheckBox in a DataGrid but in the designer I get while hovering over DoImport
cannot resolve symbol 'DoImport' due to unknown datacontext
My code is
<Window ...
0
votes
1answer
16 views
How to validate data in DataGrid when it is bound to a DataTable?
I am not able to figure out a way to validate user input in a DataGrid control when it is bound to a DataTable. The issues I see are:
I can't add custom validation rules to the data source i.e. ...
2
votes
2answers
28 views
Datagrid column header values are missing
Beginner question. I have following XAML in my WPF form.
<DataGrid x:Name="GridTable"
ItemsSource="{Binding GridDataSource}"
HorizontalGridLinesBrush="#FFE2E2E2"
...
0
votes
0answers
14 views
Display a collection of custom entities in Extended WPF Toolkit DataGridControl
I have following XAML, which displays collection of custom entities in stock DataGrid control:
<DataGrid ItemsSource="{Binding AlgoVersionClipboard}" SelectedItem="{Binding ...
0
votes
0answers
12 views
How to Access button present in WPF cell of WPF table
I am Testing WPF Application using Coded UI.. My testcase is like verifying whether button is enabled or not. wpf button is present in wpftcell which is in the wpftable.
public void ...
0
votes
0answers
60 views
WPF DataGrid and ITypedList
I tried to implement ITypedList in my ItemsSourcebut PropertyDescriptor.GetValue/SetValue are never invoked. What is wrong about it?
XAML looks like this:
<Window ...
1
vote
1answer
43 views
how to bind multidimensional array of different values to a datagrid
I have a datagrid in my application and I would like to bind multidimensional array of bool items to the grid.
how to bind the following items to the datagrid ItemsSource ?
for e.g
...
0
votes
1answer
13 views
WPF Filtering a CollectionViewSource
I have a WPF project that draws data from a dataset. In one particular view I have a grid and I want to show a filtered version of the data
I've read that I cant Filter a BindingListView but this is ...
0
votes
1answer
25 views
Wpf DataGrid bind selection from two Collections of same Count
I have List<Foo> F and List<Bar> B, same Count.
What is the cleanest/nicest way to bind columns F.x and B.y to same DataGrid in WPF and mantain OneWay binding from DataGrid to lists F and ...
0
votes
0answers
10 views
DataGridTemplateColumn binding only works on first read
I have a DataGrid with a column that looks like:
<DataGridTemplateColumn Header="Thing">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock ...