Search Results for

    Show / Hide Table of Contents

    Interface IMenu

    A interface for widgets and components with menu-like characteristics

    Namespace: OSGeo.MapGuide.ObjectModels.ApplicationDefinition
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IMenu

    Properties

    | Improve this Doc View Source

    ItemCount

    Gets the item count.

    Declaration
    int ItemCount { get; }
    Property Value
    Type Description
    System.Int32

    The item count.

    | Improve this Doc View Source

    Items

    Gets the items.

    Declaration
    IEnumerable<IUIItem> Items { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IUIItem>

    The items.

    Methods

    | Improve this Doc View Source

    AddItem(IUIItem)

    Adds the item.

    Declaration
    void AddItem(IUIItem item)
    Parameters
    Type Name Description
    IUIItem item

    The item.

    | Improve this Doc View Source

    GetIndex(IUIItem)

    Gets the index of the specified item.

    Declaration
    int GetIndex(IUIItem item)
    Parameters
    Type Name Description
    IUIItem item

    The item.

    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Insert(IUIItem, Int32)

    Inserts the specified item at the specified index.

    Declaration
    void Insert(IUIItem item, int index)
    Parameters
    Type Name Description
    IUIItem item

    The item.

    System.Int32 index

    The index.

    | Improve this Doc View Source

    MoveDown(IUIItem)

    Moves the specified item down.

    Declaration
    bool MoveDown(IUIItem item)
    Parameters
    Type Name Description
    IUIItem item

    The item.

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MoveUp(IUIItem)

    Moves the specified item up.

    Declaration
    bool MoveUp(IUIItem item)
    Parameters
    Type Name Description
    IUIItem item

    The item.

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveItem(IUIItem)

    Removes the item.

    Declaration
    void RemoveItem(IUIItem item)
    Parameters
    Type Name Description
    IUIItem item

    The item.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng