private static void ScaleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Thumbnail thumbnail = d as Thumbnail; if (thumbnail != null) { thumbnail.UpdateLayoutInternal(); } }
private static void ClientAreaOnlyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { Thumbnail thumbnail = d as Thumbnail; if (thumbnail != null) { thumbnail.ResetDrawnRegion(); thumbnail.UpdateLayoutInternal(); } }