Class TemplateFilterViewModel
A view-model class used to filter templates.
Implements
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TemplateFilterViewModel : BindableBase, INotifyPropertyChanged
Remarks
Initializes a new instance of the TemplateFilterViewModel class.
Constructors
View SourceTemplateFilterViewModel(FrameworkElement, string)
A view-model class used to filter templates.
Declaration
public TemplateFilterViewModel(FrameworkElement resourceContainer, string collectionViewName = "FilteredTemplatesView")
Parameters
| Type | Name | Description |
|---|---|---|
| FrameworkElement | resourceContainer | The resource container. |
| string | collectionViewName | Name of the collection view. |
Remarks
Initializes a new instance of the TemplateFilterViewModel class.
Properties
View SourceFilterString
Gets or sets the string used to filter with.
Declaration
public string FilterString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceOnTemplateFilterEvent(object, FilterEventArgs)
Updates when the template filter changes
Declaration
public void OnTemplateFilterEvent(object sender, FilterEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| object | sender | The sender of the event. |
| FilterEventArgs | e | The event arguments. |