[]
        
(Showing Draft Content)

C1.WinUI.Menu.C1ContextMenuService.GetContextMenu

GetContextMenu Method

GetContextMenu(DependencyObject)

Gets the context menu for a control.

Declaration
public static IC1ContextMenu GetContextMenu(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

The control from which the context menu is retrieved.

Returns
Type Description
IC1ContextMenu

The control's context menu.