Class MobileMenuProperties
Menu Properties
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileMenuProperties : PropertiesBase, IMobileBase
Constructors
MobileMenuProperties()
Initializes a new instance of the MobileMenuProperties class.
Declaration
public MobileMenuProperties()
Properties
ActionComplete
Event triggers when the actionComplete.
Declaration
[JsonProperty("actionComplete")]
public string ActionComplete { get; set; }
Property Value
Type | Description |
---|---|
System.String | The on actionComplete. |
ActionFailure
Event triggers when the actionFailure.
Declaration
[JsonProperty("actionFailure")]
public string ActionFailure { get; set; }
Property Value
Type | Description |
---|---|
System.String | The on actionFailure. |
ActionSuccess
Event triggers when the actionSuccess.
Declaration
[JsonProperty("actionSuccess")]
public string ActionSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.String | The on actionSuccess. |
AllowScrolling
Specifies whether to allow scrolling behaviour for the contents.
Declaration
[JsonProperty("allowScrolling")]
public bool AllowScrolling { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CancelButtonColor
Specifies CancelButtonColor
Declaration
[JsonProperty("cancelButtonColor")]
[Obsolete("Cancel Button properties works only Actionsheet type")]
public string CancelButtonColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The cancelButtonColor. |
CancelButtonText
Specifies the cancelButtonText.
Declaration
[JsonProperty("cancelButtonText")]
[Obsolete("Cancel Button properties works only Actionsheet type")]
public string CancelButtonText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The cancelbutton text. |
CancelButtonTouchEnd
Event triggers when touch end happens on the cancelbutton.
Declaration
[JsonProperty("cancelButtonTouchEnd")]
[Obsolete("Cancel Button properties works only Actionsheet type")]
public string CancelButtonTouchEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String | The cancel button touch end. |
CancelButtonTouchStart
Event triggers when touch start happens on the cancelbutton.
Declaration
[JsonProperty("cancelButtonTouchStart")]
[Obsolete("Cancel Button properties works only Actionsheet type")]
public string CancelButtonTouchStart { get; set; }
Property Value
Type | Description |
---|---|
System.String | The cancel button touch start. |
Color
Specifies Color
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color. |
ContentTemplate
Specifies the element contains template contents.
Declaration
[JsonIgnore]
public MvcTemplate<MobileMenuProperties> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<MobileMenuProperties> | The template identifier. |
DataSource
Specifies the datasource for items.
Declaration
[JsonProperty("dataSource")]
[HtmlAttributeName("datasource")]
[JsonConverter(typeof(DataManagerConverter))]
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data source. |
EnablePersistence
Specifies to maintain the current model value to browser cookies for state maintenance. While refresh the page, the model value will get apply to the control from browser cookies.
Declaration
[JsonProperty("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableRippleEffect
Provides animation ripple effect to the Control
Declaration
[JsonProperty("enableRippleEffect")]
public bool EnableRippleEffect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Fields
Declaration
[JsonProperty("fields")]
public MobileMenuProperties.MobileMenuFieldProperties Fields { get; set; }
Property Value
Type | Description |
---|---|
MobileMenuProperties.MobileMenuFieldProperties |
Height
Specifies the height.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The height. |
Hide
Event triggers when the control get hided.
Declaration
[JsonProperty("hide")]
public string Hide { get; set; }
Property Value
Type | Description |
---|---|
System.String | The on hide. |
Href
Specifies href for the menu control.
Declaration
[JsonProperty("href")]
public string Href { get; set; }
Property Value
Type | Description |
---|---|
System.String | The href. |
Items
Specifies the menu items.
Declaration
[JsonIgnore]
public List<MobileMenuBaseItem> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MobileMenuBaseItem> | The items. |
Load
Event triggers before the items loaded.
Declaration
[JsonProperty("load")]
public string Load { get; set; }
Property Value
Type | Description |
---|---|
System.String | The load. |
LoadComplete
Event triggers after the items loaded.
Declaration
[JsonProperty("loadComplete")]
public string LoadComplete { get; set; }
Property Value
Type | Description |
---|---|
System.String | The load complete. |
MobileMenuType
Specifies the type of the menu.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("type")]
public MobileMenuType MobileMenuType { get; set; }
Property Value
Type | Description |
---|---|
MobileMenuType | The show on. |
Query
Specifies the query to execute with the datasource is enabled.
Declaration
[JsonProperty("query")]
[JsonConverter(typeof(QueryConverter))]
public string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String | The query. |
RenderMode
Specifies the rendering mode of the control.
Declaration
[JsonProperty("renderMode")]
[JsonConverter(typeof(StringEnumConverter))]
public RenderMode RenderMode { get; set; }
Property Value
Type | Description |
---|---|
RenderMode | The render mode. |
Show
Event triggers when the control get shown.
Declaration
[JsonProperty("show")]
public string Show { get; set; }
Property Value
Type | Description |
---|---|
System.String | The on show. |
ShowArrow
Specifies whether to show the Arrow.
Declaration
[Obsolete("ShowArrow property works only PopOver type")]
[JsonProperty("showArrow")]
public bool ShowArrow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowCancelButton
Specifies whether to show the cancelbutton.
Declaration
[JsonProperty("showCancelButton")]
[Obsolete("Cancel Button properties works only Actionsheet type")]
public bool ShowCancelButton { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowOn
Specifies in which action need to show the menu.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("showOn")]
public ShowOn ShowOn { get; set; }
Property Value
Type | Description |
---|---|
ShowOn | The show on. |
ShowTitle
Specifies whether to show the title.
Declaration
[Obsolete("Title properties works only Actionsheet and PopOver types")]
[JsonProperty("showTitle")]
public bool ShowTitle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Target
Specifies the target element.
Declaration
[JsonProperty("target")]
public string Target { get; set; }
Property Value
Type | Description |
---|---|
System.String | The target identifier. |
TemplateId
Specifies ID of the element contains template contents.
Declaration
[JsonProperty("templateId")]
public string TemplateId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The template identifier. |
Text
Specifies Text
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
Title
Specifies the title.
Declaration
[Obsolete("Title properties works only Actionsheet and PopOver types")]
[JsonProperty("title")]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Title. |
TouchEnd
Event triggers when touch end happens on the item.
Declaration
[JsonProperty("touchEnd")]
public string TouchEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch end. |
TouchStart
Event triggers when touch start happens on the item.
Declaration
[JsonProperty("touchStart")]
public string TouchStart { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch start. |
Width
Specifies the width.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The width. |