MenuEntry Class
NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Controls
An entry in a Menu: a header plus optional sub-items.
public sealed class MenuEntry
Constructors
MenuEntry(string header)
public MenuEntry(string header)
Creates an entry with the given header.
Methods
ArrayList()
public readonly ArrayList Children = new ArrayList()
The sub-items shown when this top-level entry is opened.
Returns ArrayList Children = new
Add(MenuEntry child)
public MenuEntry Add(MenuEntry child)
Adds a sub-item.
Returns MenuEntry
Fields
Header
public string Header
The text shown for this entry.