menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SplitButton

    Show / Hide Table of Contents

    Class SplitButton

    Represents the SplitButton UI element.

    Inheritance
    System.Object
    CommonControl
    SplitButton
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonControl.RaisePostBackEvent(String)
    CommonControl.OnInit(EventArgs)
    CommonControl.OnLoad(EventArgs)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class SplitButton : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    SplitButton()

    Declaration
    public SplitButton()

    Properties

    ArrowPosition

    Gets or sets a value indicating the arrow position of the split or dropdown button.

    Declaration
    public ArrowPosition ArrowPosition { get; set; }
    Property Value
    Type Description
    ArrowPosition

    ButtonMode

    Gets or sets a value indicating the mode of the button is split or dropdown button.

    Declaration
    public ButtonMode ButtonMode { get; set; }
    Property Value
    Type Description
    ButtonMode

    ClientSideOnBeforeOpen

    Gets or sets a value indicating this event gets fired before menu of the split button control is opened.

    Declaration
    public string ClientSideOnBeforeOpen { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnClick

    Gets or sets a value indicating this event gets fired when split button clicked successfully.

    Declaration
    public string ClientSideOnClick { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnClose

    Gets or sets a value indicating this event gets fired when the list content of split button control is closed.

    Declaration
    public string ClientSideOnClose { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnCreate

    Gets or sets a value indicating this event gets fired after split button control is created.

    Declaration
    public string ClientSideOnCreate { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnDestroy

    Gets or sets a value indicating this event gets fired when the split button is destroyed successfully.

    Declaration
    public string ClientSideOnDestroy { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnItemMouseOut

    Gets or sets a value indicating this event gets fired when a menu item is hovered out successfully.

    Declaration
    public string ClientSideOnItemMouseOut { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnItemMouseOver

    Gets or sets a value indicating this event gets fired when a menu item is hovered in successfully.

    Declaration
    public string ClientSideOnItemMouseOver { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnItemSelected

    Gets or sets a value indicating this event gets fired when a menu item is clicked successfully.

    Declaration
    public string ClientSideOnItemSelected { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnOpen

    Gets or sets a value indicating this event gets fired when list content of split button control is opened.

    Declaration
    public string ClientSideOnOpen { 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
    public ContentType ContentType { get; set; }
    Property Value
    Type Description
    ContentType

    CssClass

    Gets or sets the root CSS class to split button for theme customization.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    Enabled

    Gets or sets a value indicating whether the control can respond to user interaction.

    Declaration
    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
    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
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    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
    public ImagePosition ImagePosition { get; set; }
    Property Value
    Type Description
    ImagePosition

    Items

    Declaration
    public List<SplitItem> Items { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<SplitItem>

    Model

    Gets or sets the split button model object of the split button properties.

    Declaration
    public SplitButtonProperties Model { get; set; }
    Property Value
    Type Description
    SplitButtonProperties

    PopupPosition

    Gets or sets the popup position for split button.

    Declaration
    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
    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
    public bool ShowRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    Size

    Gets or sets the size of the split button.

    Declaration
    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
    public string SuffixIcon { get; set; }
    Property Value
    Type Description
    System.String

    Target

    Gets or sets an id od class value indicating list of content items of the split button.

    Declaration
    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
    public string TargetID { get; set; }
    Property Value
    Type Description
    System.String

    Text

    Gets or sets the text content associated with split button.

    Declaration
    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
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DependentScripts()

    Specifies the dependent scripts.

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    GetDependentFiles()

    Specifies the the dependent files.

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonControl.GetDependentFiles()

    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
    CommonControl.LoadViewState(Object)

    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>)

    Specifies the handler for server side events.

    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
    CommonControl.PostBackEventHandler(String, Dictionary<String, Object>)

    Render()

    Renders the split button instance.

    Declaration
    public string Render()
    Returns
    Type Description
    System.String

    Render(HtmlTextWriter)

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonControl.Render(HtmlTextWriter)

    UpdateServerModel(Dictionary<String, Object>)

    Updates the server model with client model.

    Declaration
    public override void UpdateServerModel(Dictionary<string, object> ClientModel)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> ClientModel
    Overrides
    CommonControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    Click

    Declaration
    public event SplitButton.SplitButtonEventHandler Click
    Event Type
    Type Description
    SplitButton.SplitButtonEventHandler

    ItemSelect

    Specifies the handler for server side OnItemSelected event.

    Declaration
    public event SplitButton.SplitButtonSelectEventHandler ItemSelect
    Event Type
    Type Description
    SplitButton.SplitButtonSelectEventHandler

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved