-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
IHomePageContext.cs
30 lines (25 loc) · 738 Bytes
/
IHomePageContext.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) 2023 Files Community
// Licensed under the MIT License. See the LICENSE.
using Microsoft.UI.Xaml.Controls;
namespace Files.App.Data.Contexts
{
public interface IHomePageContext
{
/// <summary>
/// The last right clicked item
/// </summary>
WidgetCardItem? RightClickedItem { get; }
/// <summary>
/// The last opened widget's context menu instance
/// </summary>
CommandBarFlyout? ItemContextFlyoutMenu { get; }
/// <summary>
/// An list containing all the selected tagged items
/// </summary>
IReadOnlyList<WidgetFileTagCardItem> SelectedTaggedItems { get; }
/// <summary>
/// Tells whether any item has been right clicked
/// </summary>
bool IsAnyItemRightClicked { get; }
}
}