Пример #1
0
 internal static object ValidateNavigationPaneViewOptionCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, NavigationPaneView.Default, 0, 4));
 }
Пример #2
0
 internal static object ValidateFirstWeekOfYearCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateIntRange(value, DateTimeFormatInfo.CurrentInfo.CalendarWeekRule.ToFirstWeekRules(), 0, 3));
 }
Пример #3
0
 internal static object ValidateAttachmentsFilePickerViewType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, AttachmentsFilePickerViewType.None, 0, 2));
 }
Пример #4
0
 internal static object ValidateTemperatureUnit(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, TemperatureUnit.Default, 0, 2));
 }
Пример #5
0
 internal static object ValidatePeopleIKnowUseCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
Пример #6
0
 internal static object ValidateSchedulingViewType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, CalendarViewType.Daily, 1, 2));
 }
Пример #7
0
 internal static object ValidateMarkAsReadDelaytimeCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 5, 0, 30));
 }
Пример #8
0
 internal static object ValidateDismissedSurveysCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
Пример #9
0
 internal static object ValidatePreviewMarkAsReadCallback(object value)
 {
     return((MarkAsRead)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 1, 0, 2));
 }
Пример #10
0
 internal static object ValidateEmailComposeModeCallback(object value)
 {
     return((EmailComposeMode)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, 1));
 }
Пример #11
0
 internal static object ValidateComposeFontFlagsCallback(object value)
 {
     return((FontFlags)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, 7));
 }
Пример #12
0
 internal static object ValidateComposeFontSizeCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 3, 1, 7));
 }
Пример #13
0
 internal static object ValidateComposeMarkupCallback(object value)
 {
     return((Markup)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, 1));
 }
Пример #14
0
 internal static object ValidateCalendarSidePanelMonthPickerCount(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 1, 1, 20));
 }
Пример #15
0
 internal static object ValidateReadReceiptCallback(object value)
 {
     return((ReadReceiptResponse)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, 2));
 }
Пример #16
0
 internal static object ValidateUserOptionsMigrationState(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
Пример #17
0
 internal static object ValidateNavigationBarWidthCallback(object value)
 {
     return(UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 214, 50, 2000));
 }
Пример #18
0
 internal static object ValidateNextSelectionCallback(object value)
 {
     return((NextSelectionDirection)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 1, 0, 2));
 }
Пример #19
0
 internal static object ValidateFormatBarStateCallback(object value)
 {
     return((FormatBarButtonGroups)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, FormatBarButtonGroups.BoldItalicUnderline | FormatBarButtonGroups.Lists | FormatBarButtonGroups.ForegroundColor | FormatBarButtonGroups.BackgroundColor | FormatBarButtonGroups.Customize, 0, 16383));
 }
Пример #20
0
 internal static object ValidateGlobalReadingPanePosition(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, MailReadingPanePosition.Right, 0, 2));
 }
Пример #21
0
 internal static object ValidateTasksSearchScopeCallback(object value)
 {
     return((SearchScope)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, 2));
 }
Пример #22
0
 internal static object ValidatePeopleHubSortOptionType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, PeopleSortOptionsType.Uninitialized, 1, 6));
 }
Пример #23
0
 internal static object ValidateEnabledPontsCallback(object value)
 {
     return((PontType)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, int.MaxValue, 0, int.MaxValue));
 }
Пример #24
0
 internal static object ValidateCurrentWeatherLocationBookmarkIndex(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, CurrentWeatherLocationBookmarkIndexOption.None, -1, 4));
 }
Пример #25
0
 internal static object ValidateFlagActionCallback(object value)
 {
     return((FlagAction)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 2, 2, 6));
 }
Пример #26
0
 internal static object ValidateLearnabilityTypesShownCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
Пример #27
0
 internal static object ValidateCalendarViewType(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, CalendarViewType.Monthly, 1, 5));
 }
Пример #28
0
 internal static object ValidateCalendarSearchUseCountCallback(object value)
 {
     return((int)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, 0, 0, int.MaxValue));
 }
Пример #29
0
 internal static object ValidateWeekStartDayCallback(object value)
 {
     return((System.DayOfWeek)UserConfigurationPropertyValidationUtility.ValidateIntRange(value, (int)DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek, 0, 6));
 }