mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Conditions - Finished list support
This commit is contained in:
1 parent
0537adc27a
commit
693ea29600
11 files changed
+192
-197
No files matched your search
@@ -24,6 +24,7 @@ namespace Artemis.UI.Shared.Input
|
||||
private bool _isEnabled = true;
|
||||
private string _placeholder = "Select a property";
|
||||
private DataModelVisualizationViewModel _selectedPropertyViewModel;
|
||||
private Type[] _filterTypes;
|
||||
|
||||
internal DataModelDynamicViewModel(Module module, ISettingsService settingsService, IDataModelUIService dataModelUIService)
|
||||
{
|
||||
@@ -43,7 +44,6 @@ namespace Artemis.UI.Shared.Input
|
||||
set => SetAndNotify(ref _buttonBrush, value);
|
||||
}
|
||||
|
||||
|
||||
public string Placeholder
|
||||
{
|
||||
get => _placeholder;
|
||||
@@ -56,7 +56,16 @@ namespace Artemis.UI.Shared.Input
|
||||
set => SetAndNotify(ref _isEnabled, value);
|
||||
}
|
||||
|
||||
public Type[] FilterTypes { get; set; }
|
||||
public Type[] FilterTypes
|
||||
{
|
||||
get => _filterTypes;
|
||||
set
|
||||
{
|
||||
if (!SetAndNotify(ref _filterTypes, value)) return;
|
||||
DataModelViewModel?.ApplyTypeFilter(true, FilterTypes);
|
||||
}
|
||||
}
|
||||
|
||||
public DelegateCommand SelectPropertyCommand { get; }
|
||||
public PluginSetting<bool> ShowDataModelValues { get; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user