Class PartySortControllerVM
- Namespace
- TaleWorlds.CampaignSystem.ViewModelCollection.Party
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class PartySortControllerVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
PartySortControllerVM
- Implements
- Inherited Members
Constructors
PartySortControllerVM(PartyRosterSide, Action<PartyRosterSide, TroopSortType, bool>)
public PartySortControllerVM(PartyScreenLogic.PartyRosterSide rosterSide, Action<PartyScreenLogic.PartyRosterSide, PartyScreenLogic.TroopSortType, bool> onSort)
Parameters
rosterSide
PartyScreenLogic.PartyRosterSideonSort
Action<PartyScreenLogic.PartyRosterSide, PartyScreenLogic.TroopSortType, bool>
Properties
IsAscending
[DataSourceProperty]
public bool IsAscending { get; set; }
Property Value
IsCustomSort
[DataSourceProperty]
public bool IsCustomSort { get; set; }
Property Value
SortOptions
[DataSourceProperty]
public SelectorVM<TroopSortSelectorItemVM> SortOptions { get; set; }
Property Value
Methods
ExecuteToggleOrder()
public void ExecuteToggleOrder()
SelectSortType(TroopSortType)
public void SelectSortType(PartyScreenLogic.TroopSortType sortType)
Parameters
sortType
PartyScreenLogic.TroopSortType
SortWith(TroopSortType, bool)
public void SortWith(PartyScreenLogic.TroopSortType sortType, bool isAscending)
Parameters
sortType
PartyScreenLogic.TroopSortTypeisAscending
bool
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).