Option Strict On
Option Explicit On

Imports System
Imports SkiaSharp

Namespace Nexamas.UI.Components.DropDownMenu

    Friend Interface IMASMenuTrigger

        Property MenuBuilder As Action(Of MASDropDownMenuBuilder)
        Property CommandHandler As Action(Of String)

        Sub ShowMenu()
        Sub CloseMenu()

        ' CONTRACT:
        ' Returns the trigger anchor rectangle in SK surface physical pixels.
        ' Implementations must not return logical bounds.
        ' This rectangle is passed directly to DropDownMenuPopupService.Show(anchorRectPx).
        Function GetMenuAnchorRectPx() As SKRect

    End Interface

End Namespace