Class SearchItem
Represents search item for global search results.
public class SearchItem : ObservableObject, INotifyPropertyChanged
- Inheritance
-
SearchItem
- Implements
- Derived
- Inherited Members
Constructors
SearchItem(string, SearchItemAction)
Creates new instance of SearchItem.
public SearchItem(string name, SearchItemAction primaryAction)
Parameters
name
stringprimaryAction
SearchItemAction
SearchItem(string, SearchItemAction, object)
Creates new instance of SearchItem.
public SearchItem(string name, SearchItemAction primaryAction, object icon)
Parameters
name
stringprimaryAction
SearchItemActionicon
object
SearchItem(string, string, Action)
Creates new instance of SearchItem.
public SearchItem(string name, string primaryActionName, Action primaryAction)
Parameters
SearchItem(string, string, Action, object)
Creates new instance of SearchItem.
public SearchItem(string name, string primaryActionName, Action primaryAction, object icon)
Parameters
Properties
Description
Gets or sets item description.
public string Description { get; set; }
Property Value
Icon
Gets or sets item icon.
public object Icon { get; set; }
Property Value
MenuAction
Gets or sets menu action context.
public ContextSwitchSearchItemAction MenuAction { get; set; }
Property Value
Name
Gets or sets item name.
public string Name { get; set; }
Property Value
PrimaryAction
Gets or sets primary actions.
public SearchItemAction PrimaryAction { get; set; }
Property Value
SecondaryAction
Gets or sets secondary action.
public SearchItemAction SecondaryAction { get; set; }