Table of Contents

Class KeyOptionVM

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

Constructors

KeyOptionVM(string, string, Action<KeyOptionVM>)

public KeyOptionVM(string groupId, string id, Action<KeyOptionVM> onKeybindRequest)

Parameters

groupId string
id string
onKeybindRequest Action<KeyOptionVM>

Fields

_groupId

protected readonly string _groupId

Field Value

string

_id

protected readonly string _id

Field Value

string

_onKeybindRequest

protected readonly Action<KeyOptionVM> _onKeybindRequest

Field Value

Action<KeyOptionVM>

Properties

CurrentKey

public Key CurrentKey { get; protected set; }

Property Value

Key

Description

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

Property Value

string

Key

public Key Key { get; protected set; }

Property Value

Key

Name

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

Property Value

string

OptionValueText

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

Property Value

string

Methods

OnDone()

public abstract void OnDone()

Set(InputKey)

public abstract void Set(InputKey newKey)

Parameters

newKey InputKey

Update()

public abstract void Update()

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