Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.UIControls.v4.4 Assembly / Xceed.Chart.UIControls Namespace / OwnerDrawMenuItem Class / IsTopMenuItem Method


In This Topic
    IsTopMenuItem Method
    In This Topic
    Determines whether this is a top menu item
    Syntax
    'Declaration
     
    Public Function IsTopMenuItem() As Boolean
    'Usage
     
    Dim instance As OwnerDrawMenuItem
    Dim value As Boolean
     
    value = instance.IsTopMenuItem()
    public bool IsTopMenuItem()

    Return Value

    true if it is a top menu item, otherwise false
    Remarks
    A top menu item is a menu item for which its parent is an instance of MainMenu.
    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