mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
some more inotify properties added
(cherry picked from commit 26fa05d9b661dadc5ab0257d540ab838a07c43a6)
This commit is contained in:
parent
25015df212
commit
845a94c9b2
@ -41,9 +41,41 @@ namespace Wox.ViewModel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ICommand ActivateContextButtonsHoverCommand { get; set; }
|
private ICommand activateContextButtonsHoverCommand;
|
||||||
|
public ICommand ActivateContextButtonsHoverCommand {
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.activateContextButtonsHoverCommand;
|
||||||
|
}
|
||||||
|
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value != this.activateContextButtonsHoverCommand)
|
||||||
|
{
|
||||||
|
this.activateContextButtonsHoverCommand = value;
|
||||||
|
OnPropertyChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private ICommand deactivateContextButtonsHoverCommand;
|
||||||
|
public ICommand DeactivateContextButtonsHoverCommand
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.deactivateContextButtonsHoverCommand;
|
||||||
|
}
|
||||||
|
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value != this.deactivateContextButtonsHoverCommand)
|
||||||
|
{
|
||||||
|
this.deactivateContextButtonsHoverCommand = value;
|
||||||
|
OnPropertyChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
public ICommand ActivateContextButtonsSelectionCommand { get; set; }
|
public ICommand ActivateContextButtonsSelectionCommand { get; set; }
|
||||||
public ICommand DeactivateContextButtonsHoverCommand { get; set; }
|
|
||||||
|
|
||||||
public ICommand DeactivateContextButtonsSelectionCommand { get; set; }
|
public ICommand DeactivateContextButtonsSelectionCommand { get; set; }
|
||||||
|
|
||||||
|
@ -54,7 +54,23 @@ namespace Wox.ViewModel
|
|||||||
return _settings.MaxResultsToShow * 75;
|
return _settings.MaxResultsToShow * 75;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public int SelectedIndex { get; set; }
|
|
||||||
|
private int selectedIndex;
|
||||||
|
public int SelectedIndex {
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.selectedIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value != this.selectedIndex)
|
||||||
|
{
|
||||||
|
this.selectedIndex = value;
|
||||||
|
OnPropertyChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private ResultViewModel _selectedItem;
|
private ResultViewModel _selectedItem;
|
||||||
public ResultViewModel SelectedItem
|
public ResultViewModel SelectedItem
|
||||||
|
Loading…
Reference in New Issue
Block a user