Class IconEditorViewModel
Interaction logic for Icon Editor
Inheritance
System.Object
IconEditorViewModel
Assembly: Simplic.Icon.UI.dll
Syntax
public class IconEditorViewModel : ExtendableViewModelBase
Constructors
|
Improve this Doc
View Source
IconEditorViewModel(String)
Declaration
public IconEditorViewModel(string searchText)
Parameters
Type |
Name |
Description |
System.String |
searchText |
|
Properties
|
Improve this Doc
View Source
AddNewIconCommand
Declaration
public ICommand AddNewIconCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
DeleteIconCommand
Declaration
public ICommand DeleteIconCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
ExportIconCommand
Declaration
public ICommand ExportIconCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
FilteredIcons
Declaration
public CollectionViewSource FilteredIcons { get; set; }
Property Value
Type |
Description |
System.Windows.Data.CollectionViewSource |
|
|
Improve this Doc
View Source
Icons
Declaration
public ObservableCollection<IconViewModel> Icons { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<IconViewModel> |
|
|
Improve this Doc
View Source
SearchIconName
Declaration
public string SearchIconName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SelectedIcon
Declaration
public IconViewModel SelectedIcon { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
DeleteIcon(Guid)
Declaration
public bool DeleteIcon(Guid iconId)
Parameters
Type |
Name |
Description |
System.Guid |
iconId |
|
Returns
Type |
Description |
System.Boolean |
True if successful
|
|
Improve this Doc
View Source
OnAddNewIconCommand(Object)
Adds a new icon but does not save it to the db yet.
Declaration
public void OnAddNewIconCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
|
Improve this Doc
View Source
OnDeleteIconCommand(Object)
Deletes an icon and puts it to the to be deleted icons list
Declaration
public void OnDeleteIconCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
|
Improve this Doc
View Source
Save()
Declaration
Returns
Type |
Description |
System.Boolean |
True if successfull
|