Fix search and global title bar issues.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Threading.Tasks;
|
||||
using Wino.Mail.WinUI.Models;
|
||||
|
||||
namespace Wino.Mail.WinUI.Interfaces;
|
||||
|
||||
public interface ITitleBarSearchHost
|
||||
{
|
||||
string SearchText { get; set; }
|
||||
string SearchPlaceholderText { get; }
|
||||
ObservableCollection<TitleBarSearchSuggestion> SearchSuggestions { get; }
|
||||
|
||||
Task OnTitleBarSearchTextChangedAsync();
|
||||
void OnTitleBarSearchSuggestionChosen(TitleBarSearchSuggestion suggestion);
|
||||
Task OnTitleBarSearchSubmittedAsync(string queryText, TitleBarSearchSuggestion? chosenSuggestion);
|
||||
}
|
||||
@@ -1,11 +1,10 @@
|
||||
using CommunityToolkit.Mvvm.Messaging;
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Wino.Messaging.UI;
|
||||
|
||||
namespace Wino.Mail.WinUI.Interfaces;
|
||||
|
||||
public interface IWinoShellWindow : IRecipient<TitleBarShellContentUpdated>
|
||||
public interface IWinoShellWindow
|
||||
{
|
||||
void HandleAppActivation(string? launchArguments, string? tileId = null, string? appId = null);
|
||||
TitleBar GetTitleBar();
|
||||
|
||||
Reference in New Issue
Block a user