Class NavigationDrawer
Represents the NavigationDrawer UI element.
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Web
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class NavigationDrawer : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
NavigationDrawer()
Declaration
public NavigationDrawer()
Properties
AjaxFields
Specifies the ajaxsettings.
Declaration
[JsonProperty("ajaxFields")]
public AjaxFields AjaxFields { get; set; }
Property Value
Type | Description |
---|---|
AjaxFields |
ClientSideOnAjaxComplete
Event triggers after ajax completed.
Declaration
public string ClientSideOnAjaxComplete { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnAjaxError
Event triggers when ajax throws error.
Declaration
public string ClientSideOnAjaxError { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnAjaxSuccess
Event triggers when ajax success.
Declaration
public string ClientSideOnAjaxSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnBeforeClose
Event triggers before the control gets closed.
Declaration
public string ClientSideOnBeforeClose { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnCreate
Occurs before a NavigationDrawer control Create.
Declaration
public string ClientSideOnCreate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on create. |
ClientSideOnDestroy
Occurs when a NavigationDrawer control destroyed.
Declaration
public string ClientSideOnDestroy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on destroy. |
ClientSideOnOpen
Event triggers when the control open.
Declaration
public string ClientSideOnOpen { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnSwipe
Event triggers when the Swipe happens.
Declaration
public string ClientSideOnSwipe { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentId
Specifies the contentId for navigation drawer, where the ajax content need to updated.
Declaration
public string ContentId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Direction
Declaration
public NavigationDrawerDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerDirection |
EmptyDataText
Specifies the message shown when navigation drawer contains no data/text.
Declaration
public string EmptyDataText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableListView
Specifies whether the listview to be enabled or not.
Declaration
public bool EnableListView { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPaneOpen
Specifies whether to open the navigation drawer control.
Declaration
public bool IsPaneOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Items
Collection of top-level items.
Declaration
public List<NavigationDrawerItems> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NavigationDrawerItems> |
ListViewSettings
Collection of top-level items.
Declaration
public ListViewProperties ListViewSettings { get; set; }
Property Value
Type | Description |
---|---|
ListViewProperties |
Model
Gets or sets NavigationDrawerProperties Model.
Declaration
public NavigationDrawerProperties Model { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerProperties |
Position
Specifies position whether it is in fixed or relative to the page.
Declaration
public NavigationDrawerPosition Position { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerPosition |
TargetId
Specifies the targetId for navigation drawer.
Declaration
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Specifies the rendering type of the control.
Declaration
public NavigationDrawerType Type { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerType |
Width
Specifies the width of the control.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
DependentScripts()
Get the dependent script for Navigationdrwaer control
Declaration
public List<string> DependentScripts()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
GetDependentFiles()
Get the dependent files for NavigationDrawer control
Declaration
public override List<string> GetDependentFiles()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
LoadViewState(Object)
Restores view-state information from a previous page request.
Declaration
protected override void LoadViewState(object state)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state |
Overrides
OnPreRender(EventArgs)
Modifying server controls before sending them to the client.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
PostBackEventHandler(String, Dictionary<String, Object>)
Maintaining viewstate model values on post back
Declaration
public override void PostBackEventHandler(string eventName, Dictionary<string, object> args)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventName | |
System.Collections.Generic.Dictionary<System.String, System.Object> | args |
Overrides
Render()
Render this instance
Declaration
public string Render()
Returns
Type | Description |
---|---|
System.String |
Render(HtmlTextWriter)
Render method for rendering control
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |
Overrides
UpdateServerModel(Dictionary<String, Object>)
Specifies UpdateServerModel Dictionary with arguments.
Declaration
public override void UpdateServerModel(Dictionary<string, object> clientModel)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | clientModel |
Overrides
Events
MouseDown
Triggered when the mouse down over the list item.
Declaration
public event NavigationDrawer.NavigationDrawerMouseDownEventHandler MouseDown
Event Type
Type | Description |
---|---|
NavigationDrawer.NavigationDrawerMouseDownEventHandler |
Open
Triggered when the navigation item is opened.
Declaration
public event NavigationDrawer.NavigationDrawerEventHandler Open
Event Type
Type | Description |
---|---|
NavigationDrawer.NavigationDrawerEventHandler |