mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
UI staff
This commit is contained in:
@@ -21,10 +21,16 @@ namespace WinAlfred
|
||||
set
|
||||
{
|
||||
selected = value;
|
||||
Background = selected ? Brushes.Gray : Brushes.White;
|
||||
BrushConverter bc = new BrushConverter();
|
||||
Background = selected ? (Brush)(bc.ConvertFrom("#d1d1d1")) : (Brush)(bc.ConvertFrom("#ebebeb"));
|
||||
}
|
||||
}
|
||||
|
||||
public void SetIndex(int index)
|
||||
{
|
||||
tbIndex.Text = index.ToString();
|
||||
}
|
||||
|
||||
public ResultItem(Result result)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user