Click here to Skip to main content
13,147,689 members (30,178 online)
Rate this:
Please Sign up or sign in to vote.
See more:
hi Every
one i has WPF DataGrid and it has Column Called Code it is a datagridtemplateColumn , i put ComboBox in this Column but i try to fill the comboBox IemsSource and i could not reach to the Combo Box From Code (This.Cmx_Code.ItemsSource is Not Allowed ) so how can i fill the itemsSource of the Combo Box
<datagridtemplatecolumn loc:translate.uid="1658" header="Code" width="*" xmlns:x="#unknown" xmlns:loc="#unknown">
                            <combobox x:name="Cmx_Code" selectionchanged="Cmx_Kind_SelectionChanged" itemssource="{Binding}">
Posted 13-Oct-11 11:14am
Updated 13-Oct-11 14:37pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

try using DataBinder.Eval() function[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 5 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100