ComboBoxPageViewModel.cs 458 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.ObjectModel;
  3. using System.Linq;
  4. using Avalonia.Controls;
  5. using Avalonia.Controls.Selection;
  6. using MiniMvvm;
  7. namespace ControlCatalog.ViewModels
  8. {
  9. public class ComboBoxPageViewModel : ViewModelBase
  10. {
  11. private bool _wrapSelection;
  12. public bool WrapSelection
  13. {
  14. get => _wrapSelection;
  15. set => this.RaiseAndSetIfChanged(ref _wrapSelection, value);
  16. }
  17. }
  18. }