ComboBoxPageViewModel.cs 481 B

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