Class MenuItem
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
MenuItem is a class which is used to show a list of items in Menu.
public class MenuItem : SelectButton, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceMenuItem()
Creates a new instance of MenuItem.
Declaration
public MenuItem()
MenuItem(string)
Creates a new instance of MenuItem.
Declaration
public MenuItem(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | Creates MenuItem by special style defined in UX. |
MenuItem(ButtonStyle)
Creates a new instance of a MenuItem with style.
Declaration
public MenuItem(ButtonStyle style)
Parameters
Type | Name | Description |
---|---|---|
ButtonStyle | style | A style applied to the newly created MenuItem. |
Methods
View SourceDispose(DisposeTypes)
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
View SourceHandleControlStateOnTouch(Touch)
Declaration
protected override bool HandleControlStateOnTouch(Touch touch)
Parameters
Type | Name | Description |
---|---|---|
Touch | touch |
Returns
Type | Description |
---|---|
bool |
Overrides
View SourceOnControlStateChanged(ControlStateChangedEventArgs)
Declaration
protected override void OnControlStateChanged(View.ControlStateChangedEventArgs controlStateChangedInfo)
Parameters
Type | Name | Description |
---|---|---|
View.ControlStateChangedEventArgs | controlStateChangedInfo |
Overrides
View SourceOnInitialize()
Initialize AT-SPI object.
Declaration
public override void OnInitialize()
Overrides
View SourceOnKey(Key)
Declaration
public override bool OnKey(Key key)
Parameters
Type | Name | Description |
---|---|---|
Key | key |
Returns
Type | Description |
---|---|
bool |
Overrides
Implements
System.IDisposable