Пример использования CellTemplate/CellEditTemplate
в DataGrid (w/ComboBox).
xmlns= " http://schemas.microsoft.com/winfx/2006/xaml/presentation "
xmlns: x= " http://schemas.microsoft.com/winfx/2006/xaml "
xmlns: clr-namespace data= ": System.Windows.Controls; assembly=System.Windows.Controls.Data "
xmlns: clr-namespace src= ": Silverlight "
Width= " 400 " Height= " 300 " >
n Header= " город " >
n.CellTemplate>
mn.CellTemplate>
n.CellEditingTemplate>
ItemsSource= " {связывая CityList, Source= {cityProvider StaticResource}} «
DisplayMemberPath= " CityName "
/>
mn.CellEditingTemplate>
mn>
Над был от
http://weblogs.asp.net/manishdalal/archive/2008/09/28/combobox-in-datagrid.aspxHTH
Ashok