Class NavigationDrawerProperties
Represents a class for NavigationDrawerProperties which includes position, target ID, content ID, type, and width properties.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class NavigationDrawerProperties : PropertiesBase
Constructors
NavigationDrawerProperties()
Initializes a new instance of the NavigationDrawerProperties class.
Declaration
public NavigationDrawerProperties()
Properties
AjaxComplete
Event triggers after ajax completed.
Declaration
[JsonProperty("ajaxComplete")]
public string AjaxComplete { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AjaxError
Event triggers when ajax throws error.
Declaration
[JsonProperty("ajaxError")]
public string AjaxError { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AjaxFields
Specifies the ajaxsettings.
Declaration
[JsonProperty("ajaxSettings")]
public AjaxFields AjaxFields { get; set; }
Property Value
Type | Description |
---|---|
AjaxFields |
AjaxSuccess
Event triggers when ajax success.
Declaration
[JsonProperty("ajaxSuccess")]
public string AjaxSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BeforeClose
Event triggers before the control gets closed.
Declaration
[JsonProperty("beforeClose")]
public string BeforeClose { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentId
Specifies the contentId for navigation drawer, where the ajax content need to updated.
Declaration
[JsonProperty("contentId")]
public string ContentId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
[JsonIgnore]
public MvcTemplate<NavigationDrawerProperties> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<NavigationDrawerProperties> |
Direction
Sets the Direction for the control
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("direction")]
public NavigationDrawerDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerDirection |
EmptyDataText
Specifies the Message while NavigationDrawer appears without data.
Declaration
public string EmptyDataText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableListView
Sets the listview to be enabled or not.
Declaration
[JsonProperty("enableListView")]
public bool EnableListView { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPaneOpen
Specifies the Pane state, whether it is open or not.
Declaration
[JsonProperty("isPaneOpen")]
public bool IsPaneOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ListViewSettings
Sets all the properties of listview to render in navigation drawer.
Declaration
[JsonProperty("listViewSettings")]
public ListViewProperties ListViewSettings { get; set; }
Property Value
Type | Description |
---|---|
ListViewProperties |
Open
Event triggers when the control open.
Declaration
[JsonProperty("open")]
public string Open { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Position
Specifies position whether it is in fixed or relative to the page.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("position")]
public NavigationDrawerPosition Position { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerPosition |
Swipe
Event triggers when the Swipe happens.
Declaration
[JsonProperty("swipe")]
public string Swipe { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetId
Specifies the targetId for navigation drawer.
Declaration
[JsonProperty("targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Sets the rendering type of the control.
Declaration
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]
public NavigationDrawerType Type { get; set; }
Property Value
Type | Description |
---|---|
NavigationDrawerType |
Width
Specifies the width of the control.
Declaration
[JsonProperty("width")]
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GetControlDetails()
Declaration
protected override object GetControlDetails()
Returns
Type | Description |
---|---|
System.Object |