You can register a CoerceValueCallBack
function instead of ValueChanged. Something like this:
public static readonly DependencyProperty StatusBarTextProperty =
DependencyProperty.Register("StatusBarText", typeof(string), typeof(WorkspaceFrame), new FrameworkPropertyMetadata(null,null, StatusBarTextCoerceValueCallBack));
private static object StatusBarTextCoerceValueCallBack(DependencyObject d, object value)
{
}
CoerceValueCallback will always be triggered when the value of a property changes even if the value is same.
Thanks