2
votes
1answer
2k views

WPF DataGrid - Why the extra column

I have a WPF app that uses DataGrid to display some data. When I run the program there is an additional column as shown here: Here is what it looks like when I design it in VS2010 I have ...
1
vote
1answer
507 views

How to set DataContext of a UserControl inside a DataGrid.DataGridTemplateColumn?

I want to set datacontext of a usercontrol inside a DataGridTemplateColumn, but it dosen't work,here's the code: <DataGrid AutoGenerateColumns="False" ItemsSource="{Binding RequesterPeoples}"> ...
1
vote
0answers
71 views

Binding Row to Validation Rule WPF

I want to bind TextBox's Tag (which is inside a DataGrid), to validation rule's CurrentLegStrategy property (which is a DependencyProperty). Although I've done something similar with Deal dependency ...
0
votes
1answer
1k views

Initial DataGrid Sorting

I have a user control that contains a WPF toolkit DataGrid. This control is used in many different places in my app. The grid has no knowledge as to the type of data that will show. Is there a way to ...
0
votes
2answers
144 views

How do I get the corresponding data item when someone clicks a button within my data template WPF?

I am new in WPF and i need to make and application to show all the programs installed in windows. I found this layouts and i started to work in the fisheye panel, but the problem is that i want to ...
0
votes
1answer
149 views

Changing datagrid cell backcolor with respect to the previous cell value in WPF datagrid

I have created a datagrid in WPF which has cell values continuously changing, But I am not able to change the backcolor of a the cells with respect to the previous value of cell, for Example if the ...
0
votes
1answer
526 views

WPF Data Grid how to add text boxes and other custom controls dynamically

I want to create a DataGrid in WPF and i want to add text box controls and check boxes to the grid dynamically . I want to set the string values to text boxes dynamically at run time. Can anyone ...
0
votes
1answer
931 views

Name cannot be found in the name scope of ---Error When displaying animation in datagrid

I have a DataGrid that displays some data. Based on some conditions I need to animate some particular cell in the DataGrid. So I created a user control that contains a label and given some animations. ...
0
votes
0answers
140 views

WPF Grid mouse hover popup [closed]

I wish to accomplish something like google images. when mousehover 1 of the image, it will auto adjust/resize the control and overlap on the neighbouring control. any idea how to make it? I'm using ...
0
votes
2answers
183 views

scrollable gridview with fixed searched row in datagrid using wpf

I'm trying to implement a "find" feature where the user can enter a value in a textbox (outside of the grid) then click a button to find the row that matches the search criteria. if the search item ...
0
votes
1answer
116 views

checkboxcolumn not able to persist its checked status when convertback is used in wpf

I have a datagrid to which i am adding a checkboxcolumn programmatically. To this column I have an enum which needs to be bound but since checkboxcolumn will take only bool value, i am using a ...
0
votes
0answers
142 views

How to add custom workflow as activity in a toolbox?

I have a requirement where I have to add the custom designed workflows to the toolbox control of WPF as an activity. I read many blogs which direct that the activities that are created from the XAML ...
0
votes
0answers
264 views

items of listbox inside datagrid not getting selected in wpf

I am trying to get a listbox as one of the column inside a Datagrid. Actually its a datagrid inside a usercontrol but i dont think it should make much difference. My listbox is a multi select listbox. ...
0
votes
1answer
411 views

Textbox inside a PopupMenu in a UserControl that placed in DataGrid.DataGridTemplateColumn never get KeboardFocus?

I have a control like this: <UserControl x:Class="Pouyansoft.WPF.Controls.Common.CommonDropDownPanel" d:DesignHeight="20" d:DesignWidth="20"> <Grid> <ToggleButton ...
0
votes
1answer
58 views

Migrating values with in usercontrols

I have two user controls named Welcome Data in one main window In the second usercontrol I'm using a datagrid. On change of the elements in the datagrid I must be able to set the value in the ...

1 2
15 30 50 per page