Class ToolboxViewModel
ToolboxViewModel.
Inheritance
System.Object
ToolboxViewModel
Namespace: Simplic.Flow.Editor.UI
Assembly: Simplic.Flow.Editor.UI.dll
Syntax
public class ToolboxViewModel : UI.MVC.ViewModelBase
Constructors
| Improve this Doc View SourceToolboxViewModel(IList<NodeDefinition>)
Instantiates the ToolboxViewModel.
Declaration
public ToolboxViewModel(IList<NodeDefinition> nodeDefinitions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<NodeDefinition> | nodeDefinitions | List of node definitions |
Properties
| Improve this Doc View SourceGalleryItems
Gets or sets the collection of galleries.
Declaration
public ObservableCollection<Gallery> GalleryItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Gallery> |
GalleryItemsViewSource
Gets or sets the ViewSource for the collection of galleries.
Declaration
public ICollectionView GalleryItemsViewSource { get; set; }
Property Value
Type | Description |
---|---|
System.ComponentModel.ICollectionView |
GalleryViewSources
Gets or sets the ViewSources for every gallery.
Declaration
public IDictionary<Gallery, ICollectionView> GalleryViewSources { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<Gallery, System.ComponentModel.ICollectionView> |
MatchCase
Gets or sets whether the search term should match the exact case.
Declaration
public bool MatchCase { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MatchWholeWord
Gets or sets whether the search term should be matched to a whole word.
Declaration
public bool MatchWholeWord { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NodeDefinitions
Gets the list of node definitions.
Declaration
public IList<NodeDefinition> NodeDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<NodeDefinition> |
SearchTerm
Gets or sets the search term.
Declaration
public string SearchTerm { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SelectedGallery
Gets or sets the currently selected gallery.
Declaration
public Gallery SelectedGallery { get; set; }
Property Value
Type | Description |
---|---|
Gallery |
Methods
| Improve this Doc View SourceLazyLoadAvailableNodes()
Ensures only nodes of selected category are loaded when opening the available nodes tab for the first time.
Declaration
public void LazyLoadAvailableNodes()