|
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui
{
/// <summary>
/// Represents a View used to initiating a search.
/// </summary>
public interface ISearchBar : IView, ITextInput, ITextAlignment
{
/// <summary>
/// Gets the color of the cancel button.
/// </summary>
Color CancelButtonColor { get; }
/// <summary>
/// Gets the color of the Search icon.
/// </summary>
Color SearchIconColor { get; }
/// <summary>
/// Notify when the user presses the Search button.
/// </summary>
void SearchButtonPressed();
}
} |