Table of Contents

Class EncyclopediaListSortControllerVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.List
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

page EncyclopediaPage
items MBBindingList<EncyclopediaListItemVM>

Properties

AlternativeSortState

[DataSourceProperty]
public int AlternativeSortState { get; set; }

Property Value

int

IsAlternativeSortVisible

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

Property Value

bool

IsHighlightEnabled

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

Property Value

bool

NameLabel

[DataSourceProperty]
public string NameLabel { get; set; }

Property Value

string

SortByLabel

[DataSourceProperty]
public string SortByLabel { get; set; }

Property Value

string

SortSelection

[DataSourceProperty]
public EncyclopediaListSelectorVM SortSelection { get; set; }

Property Value

EncyclopediaListSelectorVM

SortedValueLabelText

[DataSourceProperty]
public string SortedValueLabelText { get; set; }

Property Value

string

Methods

ExecuteSwitchSortOrder()

public void ExecuteSwitchSortOrder()

GetSortOrder()

public bool GetSortOrder()

Returns

bool

RefreshValues()

public override void RefreshValues()

SetSortOrder(bool)

public void SetSortOrder(bool isAscending)

Parameters

isAscending bool

SetSortSelection(int)

public void SetSortSelection(int index)

Parameters

index int

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