Give menu ToString method for easier debugging

This commit is contained in:
Peter Kirmeier 2023-05-02 22:05:08 +02:00
parent a7af9f610f
commit ab0758788c

View file

@ -325,6 +325,8 @@ namespace SystemTrayMenu.UserInterface
internal bool IsUsable => Visibility == Visibility.Visible && !isFading && !IsClosed;
public override string ToString() => nameof(Menu) + " L" + Level.ToString() + ": " + Title;
internal void ResetSearchText()
{
textBoxSearch.Text = string.Empty;