Table of Contents

Class PopUpBaseVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.Inquiries
Assembly
TaleWorlds.MountAndBlade.ViewModelCollection.dll
public abstract class PopUpBaseVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
PopUpBaseVM
Implements
Derived
Inherited Members

Constructors

PopUpBaseVM(Action)

public PopUpBaseVM(Action closeQuery)

Parameters

closeQuery Action

Fields

_affirmativeAction

protected Action _affirmativeAction

Field Value

Action

_negativeAction

protected Action _negativeAction

Field Value

Action

Properties

ButtonCancelHint

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

Property Value

HintViewModel

ButtonCancelLabel

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

Property Value

string

ButtonOkHint

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

Property Value

HintViewModel

ButtonOkLabel

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

Property Value

string

CancelInputKey

[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }

Property Value

InputKeyItemVM

DoneInputKey

[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }

Property Value

InputKeyItemVM

IsButtonCancelEnabled

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

Property Value

bool

IsButtonCancelShown

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

Property Value

bool

IsButtonOkEnabled

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

Property Value

bool

IsButtonOkShown

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

Property Value

bool

PopUpLabel

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

Property Value

string

TitleText

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

Property Value

string

Methods

CloseQuery()

public void CloseQuery()

ExecuteAffirmativeAction()

public abstract void ExecuteAffirmativeAction()

ExecuteNegativeAction()

public abstract void ExecuteNegativeAction()

ForceRefreshKeyVisuals()

public void ForceRefreshKeyVisuals()

OnClearData()

public virtual void OnClearData()

OnFinalize()

public override void OnFinalize()

OnTick(float)

public virtual void OnTick(float dt)

Parameters

dt float

SetCancelInputKey(HotKey)

public void SetCancelInputKey(HotKey hotKey)

Parameters

hotKey HotKey

SetDoneInputKey(HotKey)

public void SetDoneInputKey(HotKey hotKey)

Parameters

hotKey HotKey

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