Nevron.UI.WinForm.Controls Namespace / NLightUIItem Class / ContextMenu Property


In This Topic
    ContextMenu Property (NLightUIItem)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlIgnoreAttribute()>
    <System.ComponentModel.DefaultValueAttribute("")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the NContextMenu instance to be displayed when the user right-clicks on the item.")>
    <System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ReferenceConverter)>
    Public Property ContextMenu As NContextMenu
    'Usage
     
    
    Dim instance As NLightUIItem
    Dim value As NContextMenu
     
    instance.ContextMenu = value
     
    value = instance.ContextMenu
    [System.Xml.Serialization.XmlIgnore()]
    [System.ComponentModel.DefaultValue("")]
    [System.ComponentModel.Description("Gets/sets the NContextMenu instance to be displayed when the user right-clicks on the item.")]
    [System.ComponentModel.TypeConverter(System.ComponentModel.ReferenceConverter)]
    public NContextMenu ContextMenu {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also