This question is locked. New answers and comments are not allowed.
My GridView includes a "check-box" column which needs to be data-bound. Users did not like the usability of the GridViewCheckBoxColumn and have insisted that I use the GridViewSelectColumn. To support data-binding, I am doing the following:
public class CustomGridViewSelectColumn : GridViewSelectColumn { public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem) { var element = base.CreateCellElement(cell, dataItem); var checkBox = element as CheckBox; if (checkBox != null) checkBox.SetBinding(CheckBox.IsCheckedProperty, new Binding("IsReadyForUpload") { Source = dataItem, Mode = BindingMode.TwoWay }); return element; } }However, I need to be notified when a user changes the value of the check-box. Using the CustomGridViewSelectColumn above, how can I receive notification when "IsChecked" changes (my View needs to subscribe to an event of some kind)?
Thanks