mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
[Pt Run] Narrator support for result view navigation (#6146)
* Screen reader detecting List view * Fixed narrator text for listview items and context menu items * Renamed custom textbox to a more meanigful name * Renamed custom textbox to a more meanigful name * Fix formatting of LauncherControl.xaml * Added support to control multiple elements
This commit is contained in:
committed by
GitHub
parent
fc34c05a2f
commit
742f4fe36d
@@ -270,10 +270,15 @@ namespace PowerLauncher.ViewModel
|
||||
return Result.GetHashCode();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
public string SearchBoxDisplayText()
|
||||
{
|
||||
var display = string.IsNullOrEmpty(Result.QueryTextDisplay) ? Result.Title : Result.QueryTextDisplay;
|
||||
return display;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Result.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user