mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Functionally, no differences. - Removed Core projects. - Core.Common => Microsoft.CmdPal.Common - Core.ViewModels => Microsoft.CmdPal.UI.ViewModels --------- Co-authored-by: Jiří Polášek <me@jiripolasek.com>
24 lines
689 B
C#
24 lines
689 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using Microsoft.CmdPal.UI.ViewModels.Messages;
|
|
using Microsoft.UI.Xaml;
|
|
using Microsoft.UI.Xaml.Controls.Primitives;
|
|
using Windows.Foundation;
|
|
|
|
namespace Microsoft.CmdPal.UI.Messages;
|
|
|
|
/// <summary>
|
|
/// Used to announce the context menu should open
|
|
/// </summary>
|
|
public record OpenContextMenuMessage(FrameworkElement? Element, FlyoutPlacementMode? FlyoutPlacementMode, Point? Point, ContextMenuFilterLocation ContextMenuFilterLocation)
|
|
{
|
|
}
|
|
|
|
public enum ContextMenuFilterLocation
|
|
{
|
|
Top,
|
|
Bottom,
|
|
}
|