Hi everybody
I have a DataGrid control for which one of the columns consists in ComboBox controls defined in a DataTemplate (refer to the xaml snippet below).
The ComboBox controls are populated through data binding and everything works fine.
My problem: I would like to disable (from code behind) the selected ComboBox control item as long as the treatment associated to that selection is not complete.
Any idea, comment, suggestion?
Here is the xaml snippet:
CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False" CanUserResizeColumns="False">
ItemsSource="{Binding CollectionOfPictograms, Mode=TwoWay}"
SelectionChanged="controlAction_SelectionChanged"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
SelectedValuePath="Content">
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Herve NDILIMABAKAPosted Jan 1, 2018, 7:40 AM
Ravishankar VelladuraiPosted Dec 31, 2017, 12:49 AM