private static void EditableChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d == null) { return; } MatrixV view = d as MatrixV; if (view == null) { return; } view.OnPropertyChanged(nameof(view.Editable)); }
private static void MatrixChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d == null) { return; } MatrixV view = d as MatrixV; if (view == null) { return; } view.Matrix.CopyByDiagonal = view.CopyByDiagonal; view.OnPropertyChanged(nameof(view.Matrix)); }