Class NavigationDrawer
The NavigationDrawer is a sliding panel displays the list of navigation options on demand which includes tag name, plugin name, and model properties.
Implements
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class NavigationDrawer : Control, IHtmlString
Constructors
NavigationDrawer()
Initializes a new instance of the NavigationDrawer class.
Declaration
public NavigationDrawer()
NavigationDrawer(String, NavigationDrawerProperties)
Initializes a new instance of the NavigationDrawerProperties class.
Declaration
public NavigationDrawer(string id, NavigationDrawerProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
NavigationDrawerProperties | propModel |
Properties
ListViewHtml
Get and sets Listview html
Declaration
public string ListViewHtml { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Model
Instance of the control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
NavigationDrawerModel
Gets or sets the mobile navigation drawer model.
Declaration
public NavigationDrawerProperties NavigationDrawerModel { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerProperties |
PluginName
Gets the plugin name of the NavigationDrawer element as 'ejNavigationDrawer'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets the tag name of the NavigationDrawer element as 'div'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the NavigationDrawer control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
Represents an HTML-encoded string of the NavigationDrawer control with directives.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
GetDependentControl()
Gets the dependent control
Declaration
protected override List<string> GetDependentControl()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
RenderControl(String)
Represents an HTML element of the NavigationDrawer control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |