Class MobileButtonProperties
Class for MobileButtonProperties
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileButtonProperties : ButtonPropertiesBase, IMobileBase
Constructors
MobileButtonProperties()
Initializes a new instance of the MobileButtonProperties class.
Declaration
public MobileButtonProperties()
Properties
ButtonContentType
Changes the ContentType of the Button.
Declaration
[JsonProperty("contentType")]
[JsonConverter(typeof(StringEnumConverter))]
public ButtonContentType ButtonContentType { get; set; }
Property Value
Type | Description |
---|---|
ButtonContentType | The Contenttype. |
ButtonImagePosition
Changes the ImagePosition of the Button.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("imagePosition")]
public ButtonImagePosition ButtonImagePosition { get; set; }
Property Value
Type | Description |
---|---|
ButtonImagePosition | The buttonImagePosition. |
ButtonStyle
Changes the Style of the Button.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("style")]
public ButtonStyle ButtonStyle { get; set; }
Property Value
Type | Description |
---|---|
ButtonStyle | The Style. |
Color
Declaration
[JsonProperty("color")]
public MobileButtonProperties.MobileButtonColorProperties Color { get; set; }
Property Value
Type | Description |
---|---|
MobileButtonProperties.MobileButtonColorProperties |
EnableRippleEffect
Specifies the Button ripple effect.
Declaration
[JsonProperty("enableRippleEffect")]
public bool EnableRippleEffect { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Href
Specifies the Button href.
Declaration
[JsonProperty("href")]
public string Href { get; set; }
Property Value
Type | Description |
---|---|
System.String | The href. |
ImageClass
Specifies the Button imageClass.
Declaration
[JsonProperty("imageClass")]
public string ImageClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The image class. |
RenderMode
Changes the rendering mode of the Button.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("renderMode")]
public RenderMode RenderMode { get; set; }
Property Value
Type | Description |
---|---|
RenderMode | The render mode. |
ShowBorder
Specifies whether to show the button border.
Declaration
[JsonProperty("showBorder")]
public bool ShowBorder { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Text
Specifies the Button text.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
TouchEnd
Fires when the touch point is removed from the Button control successfully.
Declaration
[JsonProperty("touchEnd")]
public string TouchEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch end. |
TouchStart
Fires when Button control is placed with touch point successfully.
Declaration
[JsonProperty("touchStart")]
public string TouchStart { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch start. |
Type
Changes the Type of the Button.
Declaration
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]
public MobileButtonType Type { get; set; }
Property Value
Type | Description |
---|---|
MobileButtonType | The Type. |