Exemple de l'utilisation CellTemplate/CellEditTemplate
dans DataGrid (w/ComboBox).
xmlns= " http://schemas.microsoft.com/winfx/2006/xaml/presentation "
xmlns : x= " http://schemas.microsoft.com/winfx/2006/xaml "
xmlns : clr-namespace de data= " : System.Windows.Controls ; assembly=System.Windows.Controls.Data "
xmlns : clr-namespace de src= " : Silverlight "
Width= " 400 " Height= " 300 " >
n Header= " ville " >
n.CellTemplate>
mn.CellTemplate>
n.CellEditingTemplate>
ItemsSource= " {CityList, Source= contraignants {cityProvider de StaticResource}} «
DisplayMemberPath= " CityName "
/>
mn.CellEditingTemplate>
mn>
Au-dessus de était de
http://weblogs.asp.net/manishdalal/archive/2008/09/28/combobox-in-datagrid.aspxHTH
Ashok