Class SplitButtonProperties
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class SplitButtonProperties : EJTagHelper
Constructors
SplitButtonProperties()
Initializes a new instance of the SplitButtonProperties class.
Declaration
public SplitButtonProperties()
Properties
ArrowPosition
Gets or sets a value indicating the arrow position of the split or dropdown button.
Declaration
[JsonProperty("arrowPosition")]
[JsonConverter(typeof(StringEnumConverter))]
public ArrowPosition ArrowPosition { get; set; }
Property Value
Type | Description |
---|---|
ArrowPosition |
BeforeOpen
Gets or sets a value indicating this event gets fired before menu of the split button control is opened.
Declaration
[JsonProperty("beforeOpen")]
public string BeforeOpen { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ButtonMode
Gets or sets a value indicating the mode of the button is split or dropdown button.
Declaration
[JsonProperty("buttonMode")]
[JsonConverter(typeof(StringEnumConverter))]
public ButtonMode ButtonMode { get; set; }
Property Value
Type | Description |
---|---|
ButtonMode |
Click
Gets or sets a value indicating this event gets fired when split button clicked successfully.
Declaration
[JsonProperty("click")]
public string Click { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Close
Gets or sets a value indicating this event gets fired when the list content of split button control is closed.
Declaration
[JsonProperty("close")]
public string Close { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentType
Gets or sets the content type of the split button. Button can have image only, text only, image text image, text and image or image both as content type.
Declaration
[JsonProperty("contentType")]
[JsonConverter(typeof(StringEnumConverter))]
public ContentType ContentType { get; set; }
Property Value
Type | Description |
---|---|
ContentType |
Create
Gets or sets a value indicating this event gets fired after split button control is created.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CssClass
Gets or sets the root CSS class to split button for theme customization.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Destroy
Gets or sets a value indicating this event gets fired when the split button is destroyed successfully.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRTL
Gets or sets a value indicating whether control's elements supports to align in right to left direction.
Declaration
[JsonProperty("enableRTL")]
public bool EnableRTL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Height
Gets or sets a value indicating the height of the split button.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HtmlAttributes
Gets or sets the value to map the field of HTML attributes.
Declaration
[JsonProperty("htmlAttributes")]
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
ImagePosition
Gets or sets a value indicating whether image position is left or right. This property is applicable for the content type 'text and image' only.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("imagePosition")]
public ImagePosition ImagePosition { get; set; }
Property Value
Type | Description |
---|---|
ImagePosition |
ItemMouseOut
Gets or sets a value indicating this event gets fired when a menu item is hovered out successfully.
Declaration
[JsonProperty("itemMouseOut")]
public string ItemMouseOut { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ItemMouseOver
Gets or sets a value indicating this event gets fired when a menu item is hovered in successfully.
Declaration
[JsonProperty("itemMouseOver")]
public string ItemMouseOver { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Items
Specifies the list of menu items associated with split/dropdown button.
Declaration
[JsonIgnore]
public List<SplitButtonItem> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SplitButtonItem> |
ItemSelected
Gets or sets a value indicating this event gets fired when a menu item is clicked successfully.
Declaration
[JsonProperty("itemSelected")]
public string ItemSelected { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Open
Gets or sets a value indicating this event gets fired when list content of split button control is opened.
Declaration
[JsonProperty("open")]
public string Open { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PopupPosition
Gets or sets a value indicating the arrow position of the split or dropdown button.
Declaration
[JsonProperty("popupPosition")]
public string PopupPosition { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrefixIcon
Gets or sets the primary icon for split button. This is applicable for the content types image only, image text image, text and image and image both.
Declaration
[JsonProperty("prefixIcon")]
public string PrefixIcon { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ShowRoundedCorner
Gets or sets a value indicating whether split button with rounded corners or not.
Declaration
[JsonProperty("showRoundedCorner")]
public bool ShowRoundedCorner { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Size
Gets or sets the size of the split button.
Declaration
[JsonProperty("size")]
[JsonConverter(typeof(StringEnumConverter))]
public ButtonSize Size { get; set; }
Property Value
Type | Description |
---|---|
ButtonSize |
SuffixIcon
Gets or sets the secondary icon for split button. This is applicable for the content types imagetextimage and imageboth.
Declaration
[JsonProperty("suffixIcon")]
public string SuffixIcon { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Target
Gets or sets an id or a class value indicating list of content items of the split button.
Declaration
[JsonProperty("target")]
public string Target { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetID
Gets or sets an id value indicating list of content items of the split button.
Declaration
[JsonProperty("targetID")]
public string TargetID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
Gets or sets the text content associated with split button.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Width
Gets or sets a value indicating the width of the split button.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetControlDetails()
Declaration
protected override object GetControlDetails()
Returns
Type | Description |
---|---|
System.Object |
Overrides
ShouldSerializeSplitButtonItem()
ShouldSerialize method for MenuBaseItem
Declaration
public bool ShouldSerializeSplitButtonItem()
Returns
Type | Description |
---|---|
System.Boolean |