When you use Dependency Properties, the Setters will not be called by bindings, instead they change the value directly (using SetValue or something similar).
Try adding a PropertyChangedCallback, and set a breakpoint in there to see if the value is changed from the GridView.
public static readonly DependencyProperty BoolProperty =
DependencyProperty.Register("Bool", typeof(bool), typeof(TestRow), new UIPropertyMetadata(false, OnBoolChanged));
private static void OnBoolChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
{
//this method will be called everytime Bool changes value
}
Bubblewrap
2009-02-02 21:14:25