I have this problem that my checkCheck IsChecked binding binding does not work. I googled, but people say this is shoudl TwoWay binding, which is what I use.
Here is my code:
<CheckBox Name="ckC" VerticalAlignment="Center" IsChecked="{Binding Path=LSMChannelEnable[2], Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
Below is the C # code:
public bool[] LSMChannelEnable { get { return this._liveImage.LSMChannelEnable; } set { this._liveImage.LSMChannelEnable = value; OnPropertyChanged("LSMChannelEnable"); OnPropertyChanged("EnableChannelCount"); OnPropertyChanged("LSMChannel"); } }
Any pointers are highly appreciated,
source share