Class EncyclopediaListSortControllerVM
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class EncyclopediaListSortControllerVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
EncyclopediaListSortControllerVM
- Implements
- Inherited Members
Constructors
EncyclopediaListSortControllerVM(EncyclopediaPage, MBBindingList<EncyclopediaListItemVM>)
public EncyclopediaListSortControllerVM(EncyclopediaPage page, MBBindingList<EncyclopediaListItemVM> items)
Parameters
pageEncyclopediaPageitemsMBBindingList<EncyclopediaListItemVM>
Properties
AlternativeSortState
[DataSourceProperty]
public int AlternativeSortState { get; set; }
Property Value
IsAlternativeSortVisible
[DataSourceProperty]
public bool IsAlternativeSortVisible { get; set; }
Property Value
IsHighlightEnabled
[DataSourceProperty]
public bool IsHighlightEnabled { get; set; }
Property Value
NameLabel
[DataSourceProperty]
public string NameLabel { get; set; }
Property Value
SortByLabel
[DataSourceProperty]
public string SortByLabel { get; set; }
Property Value
SortSelection
[DataSourceProperty]
public EncyclopediaListSelectorVM SortSelection { get; set; }
Property Value
SortedValueLabelText
[DataSourceProperty]
public string SortedValueLabelText { get; set; }
Property Value
Methods
ExecuteSwitchSortOrder()
public void ExecuteSwitchSortOrder()
GetSortOrder()
public bool GetSortOrder()
Returns
RefreshValues()
public override void RefreshValues()
SetSortOrder(bool)
public void SetSortOrder(bool isAscending)
Parameters
isAscendingbool
SetSortSelection(int)
public void SetSortSelection(int index)
Parameters
indexint
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).