public static void SetRestoreAutoPanSettings(DependencyObject obj, RestoreAutoPanMode value) { obj.SetValue(RestoreAutoPanSettingsProperty, value); }