celleditingtemplate

Disabling a CellEditingTemplate programmatically in in a Silverlight DataGrid

I have a Silverlight Datagrid, I'd like to make certain cells readonly programmatically. Specifically I have a CellEditingTemplate, I'd like to turn the cell editing off or on depending on the value of CategoryTypeName (see the xmal below). <local:DataGridTemplateColumn Header="Category" > <local:DataG...

binding combox in wpf datagrid

I have a list that I populate in the init of my viewmodel: ListOfEmployees = new List<EmployeeBO>(employeeRepository.GetEmployees(true, true)); I am trying to get a combobox in a datagrid to populate from this list. <DataGridTemplateColumn Header="U/M" MinWidth="145"> <DataGridTemplateColumn.CellEditingTemplate> <DataTemplate> ...

Force DataGrid into edit mode when using ListView for CellTemplate

Greetings, In an WPF DataGridTemplateColumn I have a CellTemplate using a ListView and a CellEditingTemplate using a DataGrid. <DataTemplate x:Key="LimitsTemplate"> <ListView ItemsSource="{Binding Limits}" IsEnabled="False"> <ListView.ItemTemplate> ... </ListView.ItemTemplate> </ListView> </DataTem...