ISearchableControl.cs 387 B

123456789
  1. namespace Content.Client.Guidebook.Controls;
  2. public interface ISearchableControl
  3. {
  4. public bool CheckMatchesSearch(string query);
  5. /// <summary>
  6. /// Sets the hidden state for the control. In simple cases this could just disable/hide it, but you may want more complex behavior for some elements.
  7. /// </summary>
  8. public void SetHiddenState(bool state, string query);
  9. }