Class NavigationView
The native widget that is configured with an header and an list of items to be used in NavigationDrawer.
Inheritance
System.Object
NavigationView
Implements
Namespace: Tizen.UIExtensions.ElmSharp
Assembly: Tizen.UIExtensions.ElmSharp.dll
Syntax
public class NavigationView : Background, INavigationView
Constructors
NavigationView(EvasObject)
Initializes a new instance of the NavigationView class.
Declaration
public NavigationView(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent evas object. |
Properties
BackgroundColor
Gets or sets the background color of the NavigtiaonView.
Declaration
public override ElmSharp.Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
ElmSharp.Color |
BackgroundImage
Gets or sets the background image of the NavigtiaonView.
Declaration
public EvasObject? BackgroundImage { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<EvasObject> |
Header
Gets or sets the header view of the NavigtiaonView.
Declaration
public EvasObject? Header { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<EvasObject> |
HeaderBehavior
Gets or sets the header behavior.
Declaration
public DrawerHeaderBehavior HeaderBehavior { get; set; }
Property Value
Type | Description |
---|---|
DrawerHeaderBehavior |
TargetView
Gets or sets the target view of the NavigtiaonView.
Declaration
public EvasObject TargetView { get; }
Property Value
Type | Description |
---|---|
EvasObject |
Methods
BuildMenu(IEnumerable<Object>)
Create the list of items to be displayed on the NavigationView.
Declaration
public void BuildMenu(IEnumerable<object> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Object> | items |
Events
ItemSelected
Occurs when an item is selected in the NavigationView.
Declaration
public event EventHandler<ItemSelectedEventArgs> ItemSelected
Event Type
Type | Description |
---|---|
System.EventHandler<ItemSelectedEventArgs> |
Explicit Interface Implementations
INavigationView.UpdateHeaderLayout()
Declaration
void INavigationView.UpdateHeaderLayout()