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
intcolor
uintonSelection
Action<BannerColorVM>
Properties
Color
public uint Color { get; }
Property Value
ColorAsStr
[DataSourceProperty]
public string ColorAsStr { get; set; }
Property Value
ColorID
public int ColorID { get; }
Property Value
IsSelected
[DataSourceProperty]
public bool IsSelected { get; set; }
Property Value
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).