示例#1
0
        public FolderSettingsViewModel()
        {
            LayoutPreference = new LayoutPreferences();

            ToggleLayoutModeGridViewLargeCommand  = new RelayCommand <bool>(ToggleLayoutModeGridViewLarge);
            ToggleLayoutModeColumnViewCommand     = new RelayCommand <bool>(ToggleLayoutModeColumnView);
            ToggleLayoutModeGridViewMediumCommand = new RelayCommand <bool>(ToggleLayoutModeGridViewMedium);
            ToggleLayoutModeGridViewSmallCommand  = new RelayCommand <bool>(ToggleLayoutModeGridViewSmall);
            ToggleLayoutModeGridViewCommand       = new RelayCommand <int>(ToggleLayoutModeGridView);
            ToggleLayoutModeTilesCommand          = new RelayCommand <bool>(ToggleLayoutModeTiles);
            ToggleLayoutModeDetailsViewCommand    = new RelayCommand <bool>(ToggleLayoutModeDetailsView);

            ChangeGroupOptionCommand = new RelayCommand <GroupOption>(ChangeGroupOption);

            SetLayoutInformation();
        }
示例#2
0
 internal LayoutPreferenceEventArgs(LayoutPreferences layoutPref, bool isAdaptiveLayoutUpdateRequired = false)
 {
     LayoutPreference = layoutPref;
     IsAdaptiveLayoutUpdateRequired = isAdaptiveLayoutUpdateRequired;
 }
示例#3
0
 internal LayoutPreferenceEventArgs(LayoutPreferences layoutPref)
 => LayoutPreference = layoutPref;