private static void Action_ValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { HexByteControl ctrl = d as HexByteControl; if (e.NewValue != e.OldValue) { ctrl.UpdateBackGround(); } }
private static void IsHighLight_PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { HexByteControl ctrl = d as HexByteControl; if (e.NewValue != e.OldValue) { ctrl._keyDownLabel = KeyDownLabel.FirstChar; ctrl.UpdateBackGround(); } }