ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1ContextMenuService Class / SetMenuOpenMode Method
The control to which the property is attached.
The ContextMenuOpenMode value to set.

In This Topic
    SetMenuOpenMode Method
    In This Topic
    Sets the MenuOpenMode property for a control.
    Syntax
    'Declaration
     
    Public Shared Sub SetMenuOpenMode( _
       ByVal obj As Windows.UI.Xaml.DependencyObject, _
       ByVal value As ContextMenuOpenMode _
    ) 
    public static void SetMenuOpenMode( 
       Windows.UI.Xaml.DependencyObject obj,
       ContextMenuOpenMode value
    )

    Parameters

    obj
    The control to which the property is attached.
    value
    The ContextMenuOpenMode value to set.
    See Also