From 064219ec152e2ba82bf60d4a28790daca213d568 Mon Sep 17 00:00:00 2001 From: steffenWi Date: Fri, 20 Sep 2013 11:21:43 +0200 Subject: [PATCH] Changed spaces to tabs --- .../CanvasCellViewBackend.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs b/Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs index ff2bb92d..50183848 100644 --- a/Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs +++ b/Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs @@ -38,12 +38,12 @@ namespace Xwt.WPFBackend void OnDataChanged(object sender, DependencyPropertyChangedEventArgs e) { if (e.OldValue != null) - ((ValuesContainer)e.OldValue).PropertyChanged -= CanvasCellRenderer_PropertyChanged; - - if (e.NewValue is ValuesContainer) - { - ((ValuesContainer)DataContext).PropertyChanged += CanvasCellRenderer_PropertyChanged; - } + ((ValuesContainer)e.OldValue).PropertyChanged -= CanvasCellRenderer_PropertyChanged; + + if (e.NewValue is ValuesContainer) + { + ((ValuesContainer)DataContext).PropertyChanged += CanvasCellRenderer_PropertyChanged; + } } void CanvasCellRenderer_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)