Voorbeeld om CellTemplate/CellEditTemplate in
DataGrid (w/ComboBox) te gebruiken.
xmlns= " http://schemas.microsoft.com/winfx/2006/xaml/presentation "
xmlns: x= " http://schemas.microsoft.com/winfx/2006/xaml "
xmlns: data= " clr-namespace: System.Windows.Controls; assembly=System.Windows.Controls.Data "
xmlns: src= " clr-namespace: Silverlight "
Width= " 400 " Height= " 300 " >
n Header= " Stad " >
n.CellTemplate>
mn.CellTemplate>
n.CellEditingTemplate>
ItemsSource= " {het Binden CityList, Source= {StaticResource cityProvider}} „
DisplayMemberPath= " CityName "
/>
mn.CellEditingTemplate>
mn>
Was hierboven van
http://weblogs.asp.net/manishdalal/archive/2008/09/28/combobox-in-datagrid.aspxHTH
Ashok