Table of Contents

Class EscapeMenuItemVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.EscapeMenu
Assembly
TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class EscapeMenuItemVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
EscapeMenuItemVM
Implements
Inherited Members

Constructors

EscapeMenuItemVM(TextObject, Action<object>, object, Func<Tuple<bool, TextObject>>, bool)

public EscapeMenuItemVM(TextObject item, Action<object> onExecute, object identifier, Func<Tuple<bool, TextObject>> getIsDisabledAndReason, bool isPositiveBehaviored = false)

Parameters

item TextObject
onExecute Action<object>
identifier object
getIsDisabledAndReason Func<Tuple<bool, TextObject>>
isPositiveBehaviored bool

Properties

ActionText

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

Property Value

string

DisabledHint

[DataSourceProperty]
public HintViewModel DisabledHint { get; set; }

Property Value

HintViewModel

IsDisabled

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

Property Value

bool

IsPositiveBehaviored

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

Property Value

bool

Methods

ExecuteAction()

public void ExecuteAction()

RefreshValues()

public override void RefreshValues()

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