Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / C1PathIcon Class / CreateContextMenu Method


In This Topic
    CreateContextMenu Method (C1PathIcon)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("createContextMenu", 
       "(Landroid/view/ContextMenu;)V", 
       "GetCreateContextMenu_Landroid_view_ContextMenu_Handler")>
    Public Overridable Sub CreateContextMenu( _
       ByVal menu As Android.Views.IContextMenu _
    ) 
    'Usage
     
    
    Dim instance As C1PathIcon
    Dim menu As Android.Views.IContextMenu
     
    instance.CreateContextMenu(menu)
    [Android.Runtime.Register("createContextMenu", 
       "(Landroid/view/ContextMenu;)V", 
       "GetCreateContextMenu_Landroid_view_ContextMenu_Handler")]
    public virtual void CreateContextMenu( 
       Android.Views.IContextMenu menu
    )

    Parameters

    menu
    See Also