Table of Contents

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.PartyRosterSide
onSort Action<PartyScreenLogic.PartyRosterSide, PartyScreenLogic.TroopSortType, bool>

Properties

IsAscending

[DataSourceProperty]
public bool IsAscending { get; set; }

Property Value

bool

IsCustomSort

[DataSourceProperty]
public bool IsCustomSort { get; set; }

Property Value

bool

SortOptions

[DataSourceProperty]
public SelectorVM<TroopSortSelectorItemVM> SortOptions { get; set; }

Property Value

SelectorVM<TroopSortSelectorItemVM>

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.TroopSortType
isAscending bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).