Xamarin.Android | ComponentOne
C1.Android.Viewer Assembly / C1.Android.Viewer Namespace / MenuItem Class / MenuItem Constructor / MenuItem Constructor(String,C1Icon,ICommand)
The header.
The image.


In This Topic
    MenuItem Constructor(String,C1Icon,ICommand)
    In This Topic
    Initializes a new instance of the MenuItem class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal header As String, _
       ByVal icon As C1Icon, _
       ByVal menuCommand As ICommand _
    )
    'Usage
     
    
    Dim header As String
    Dim icon As C1Icon
    Dim menuCommand As ICommand
     
    Dim instance As New MenuItem(header, icon, menuCommand)
    public MenuItem( 
       string header,
       C1Icon icon,
       ICommand menuCommand
    )

    Parameters

    header
    The header.
    icon
    The image.
    menuCommand
    The menu command.
    See Also