Table of Contents

Class BannerColorVM

Namespace
TaleWorlds.Core.ViewModelCollection.BannerEditor
Assembly
TaleWorlds.Core.ViewModelCollection.dll
public class BannerColorVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
BannerColorVM
Implements
Inherited Members

Constructors

BannerColorVM(int, uint, Action<BannerColorVM>)

public BannerColorVM(int colorID, uint color, Action<BannerColorVM> onSelection)

Parameters

colorID int
color uint
onSelection Action<BannerColorVM>

Properties

Color

public uint Color { get; }

Property Value

uint

ColorAsStr

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

Property Value

string

ColorID

public int ColorID { get; }

Property Value

int

IsSelected

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

Property Value

bool

Methods

ExecuteSelectIcon()

public void ExecuteSelectIcon()

SetOnSelectionAction(Action<BannerColorVM>)

public void SetOnSelectionAction(Action<BannerColorVM> onSelection)

Parameters

onSelection Action<BannerColorVM>

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