Class GroupedOptionCategoryVM
- Assembly
- TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class GroupedOptionCategoryVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
GroupedOptionCategoryVM
- Implements
- Derived
- Inherited Members
Constructors
GroupedOptionCategoryVM(OptionsVM, TextObject, OptionCategory, bool, bool)
public GroupedOptionCategoryVM(OptionsVM options, TextObject name, OptionCategory category, bool isEnabled, bool isResetSupported = false)
Parameters
options
OptionsVMname
TextObjectcategory
OptionCategoryisEnabled
boolisResetSupported
bool
Fields
_options
protected readonly OptionsVM _options
Field Value
Properties
AllOptions
public IEnumerable<GenericOptionDataVM> AllOptions { get; }
Property Value
BaseOptions
[DataSourceProperty]
public MBBindingList<GenericOptionDataVM> BaseOptions { get; set; }
Property Value
Groups
[DataSourceProperty]
public MBBindingList<OptionGroupVM> Groups { get; set; }
Property Value
IsEnabled
[DataSourceProperty]
public bool IsEnabled { get; set; }
Property Value
IsResetSupported
[DataSourceProperty]
public bool IsResetSupported { get; set; }
Property Value
Name
[DataSourceProperty]
public string Name { get; set; }
Property Value
ResetText
[DataSourceProperty]
public string ResetText { get; set; }
Property Value
Methods
ExecuteResetToDefault()
public void ExecuteResetToDefault()
GetOption(NativeOptionsType)
public GenericOptionDataVM GetOption(NativeOptions.NativeOptionsType optionType)
Parameters
optionType
NativeOptions.NativeOptionsType
Returns
GetOption(ManagedOptionsType)
public GenericOptionDataVM GetOption(ManagedOptions.ManagedOptionsType optionType)
Parameters
optionType
ManagedOptions.ManagedOptionsType
Returns
RefreshValues()
public override void RefreshValues()
ResetData()
public void ResetData()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).