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(); }
internal LayoutPreferenceEventArgs(LayoutPreferences layoutPref, bool isAdaptiveLayoutUpdateRequired = false) { LayoutPreference = layoutPref; IsAdaptiveLayoutUpdateRequired = isAdaptiveLayoutUpdateRequired; }
internal LayoutPreferenceEventArgs(LayoutPreferences layoutPref) => LayoutPreference = layoutPref;