Class EscapeMenuItemVM
- 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
TextObjectonExecute
Action<object>identifier
objectgetIsDisabledAndReason
Func<Tuple<bool, TextObject>>isPositiveBehaviored
bool
Properties
ActionText
[DataSourceProperty]
public string ActionText { get; set; }
Property Value
DisabledHint
[DataSourceProperty]
public HintViewModel DisabledHint { get; set; }
Property Value
IsDisabled
[DataSourceProperty]
public bool IsDisabled { get; set; }
Property Value
IsPositiveBehaviored
[DataSourceProperty]
public bool IsPositiveBehaviored { get; set; }
Property Value
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).