Class NaviItem

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

The NaviItem is a widget that contain the contents to show in Naviframe. Inherits ItemObject

C#
Copy
public class NaviItem : ItemObject
Inheritance
System.Object
NaviItem

Properties

View Source

Content

Gets the content object. The name of the content part is "elm.swallow.content".

Declaration
C#
Copy
public EvasObject Content { get; }
Property Value
Type Description
EvasObject
API Level: preview
View Source

Style

Sets or gets an item style.

Declaration
C#
Copy
public override string Style { get; set; }
Property Value
Type Description
System.String
Overrides
API Level: preview
View Source

TitleBarBackgroundColor

Sets or gets the title bar background color.

Declaration
C#
Copy
public Color TitleBarBackgroundColor { get; set; }
Property Value
Type Description
Color
API Level: preview
View Source

TitleBarVisible

Sets or gets a value whether the title area is enabled or not.

Declaration
C#
Copy
public bool TitleBarVisible { get; set; }
Property Value
Type Description
Boolean
API Level: preview

Methods

View Source

OnInvalidate()

Invalidates the EventArgs if _isPopped is false. The method should be overridden in the children class.

Declaration
C#
Copy
protected override void OnInvalidate()
Overrides
API Level: preview

Events

View Source

Popped

Popped will be triggered when NaviItem is removed.

Declaration
C#
Copy
public event EventHandler Popped
Event Type
Type Description
System.EventHandler
API Level: preview

Extension Methods