Click here to Skip to main content
15,891,828 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to update datagrid after add an entity to domaincontext without reload Pin
Loveisasea14-Dec-11 21:06
Loveisasea14-Dec-11 21:06 
AnswerRe: How to update datagrid after add an entity to domaincontext without reload Pin
Loveisasea14-Dec-11 23:50
Loveisasea14-Dec-11 23:50 
QuestionHow to add option (none) and (new) to itembinding combobox Pin
Loveisasea14-Dec-11 19:49
Loveisasea14-Dec-11 19:49 
AnswerRe: How to add option (none) and (new) to itembinding combobox Pin
Pete O'Hanlon14-Dec-11 22:25
mvePete O'Hanlon14-Dec-11 22:25 
GeneralRe: How to add option (none) and (new) to itembinding combobox Pin
Loveisasea18-Dec-11 15:57
Loveisasea18-Dec-11 15:57 
GeneralRe: How to add option (none) and (new) to itembinding combobox Pin
Pete O'Hanlon18-Dec-11 19:36
mvePete O'Hanlon18-Dec-11 19:36 
AnswerRe: How to add option (none) and (new) to itembinding combobox Pin
Mycroft Holmes18-Dec-11 16:14
professionalMycroft Holmes18-Dec-11 16:14 
QuestionGetting binding expression out of a DataGridTemplateColumn's CellTemplate in code-behind Pin
Nicolai Schrade13-Dec-11 21:53
Nicolai Schrade13-Dec-11 21:53 
Hi,

I'm looking for a possibility to read the binding expression out of a DataGridTemplateColumn's CellTemplate in code behind.
My template columns look like this:

<DataGridTemplateColumn x:Name="..." Header="...">
<DataGridTemplateColumn.CellTemplate>
  <DataTemplate>
    <TextBlock Text="{Binding Path=City}" Style="..."/>
  </DataTemplate>
</DataGridTemplateColumn.CellTemplate>
                                        <DataGridTemplateColumn.CellEditingTemplate>
  <DataTemplate>
    <ComboBox ... />
  </DataTemplate>
</DataGridTemplateColumn.CellEditingTemplate>
</DataGridTemplateColumn>


Now I want to get the value of the binding path in the datatemplate. In this case, I'like to get the value "City".

Any tips would be greatly appreciated.

Kind regards,
Nico
QuestionSub menu Pin
columbos1492712-Dec-11 3:47
columbos1492712-Dec-11 3:47 
AnswerRe: Sub menu Pin
Pete O'Hanlon12-Dec-11 4:04
mvePete O'Hanlon12-Dec-11 4:04 
QuestionHotkey Implementation Pin
gmeehan12-Dec-11 2:47
gmeehan12-Dec-11 2:47 
QuestionBinding SL DataGrid column to looked up property value Pin
Ravi Bhavnani11-Dec-11 14:25
professionalRavi Bhavnani11-Dec-11 14:25 
AnswerRe: Binding SL DataGrid column to looked up property value Pin
Mycroft Holmes11-Dec-11 18:49
professionalMycroft Holmes11-Dec-11 18:49 
GeneralRe: Binding SL DataGrid column to looked up property value Pin
Ravi Bhavnani12-Dec-11 1:48
professionalRavi Bhavnani12-Dec-11 1:48 
GeneralRe: Binding SL DataGrid column to looked up property value Pin
Mycroft Holmes12-Dec-11 12:08
professionalMycroft Holmes12-Dec-11 12:08 
QuestionChanges made in visual studio do not show in browser Pin
don_biglia11-Dec-11 12:00
don_biglia11-Dec-11 12:00 
AnswerRe: Changes made in visual studio do not show in browser Pin
Abhinav S11-Dec-11 18:35
Abhinav S11-Dec-11 18:35 
GeneralRe: Changes made in visual studio do not show in browser Pin
don_biglia16-Dec-11 7:52
don_biglia16-Dec-11 7:52 
GeneralRe: Changes made in visual studio do not show in browser Pin
Saksida Bojan18-Dec-11 9:43
Saksida Bojan18-Dec-11 9:43 
QuestionError: Class not registered (Exception from HRESULT: 0x80040154) Pin
Mostafa Sabeti10-Dec-11 22:17
Mostafa Sabeti10-Dec-11 22:17 
AnswerRe: Error: Class not registered (Exception from HRESULT: 0x80040154) Pin
thatraja11-Dec-11 19:52
professionalthatraja11-Dec-11 19:52 
QuestionWPF Radio Button Group Behavior Pin
Eric Woodruff10-Dec-11 15:19
professionalEric Woodruff10-Dec-11 15:19 
AnswerRe: WPF Radio Button Group Behavior Pin
SledgeHammer0110-Dec-11 17:51
SledgeHammer0110-Dec-11 17:51 
Questionhow to hide particular grid. Pin
SRKSHOME9-Dec-11 5:41
SRKSHOME9-Dec-11 5:41 
AnswerRe: how to hide particular grid. Pin
Abhinav S9-Dec-11 23:15
Abhinav S9-Dec-11 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.