adding is_sticky member to which the view will Databind

This commit is contained in:
Jake Norbut authored and John Colvin committed 2019-08-05 15:06:39 -05:00
1 parent dc420a097a
commit 44eeff98e7
1 file changed
+5
@@ -777,6 +777,11 @@ namespace mbts.spark {
public ICollectionView<AlgoDefinitionVM> algo_definitions_view { get; }
public AlgoDefinitionVM algo_definition { get => selector.value; set => selector.value = value; }
public bool is_sticky {
get => algo_definition != null ? algo_definition.is_sticky : false;
set => algo_definition.is_sticky = value;
}
class _AddButtonPlaceholderItem : FavoriteAlgoItem, ITemplateSelectorKey {
public string key => LadderSettingsView.FavoriteAlgoAddButtonTemplateKey;
}