New to Telerik UI for ASP.NET Core? Download free 30-day trial

Kendo.Mvc.UI.Fluent.SplitButtonBuilder

Defines the fluent API for configuring the Kendo UI SplitButton

Methods

Text(System.String)

Sets the text content of the button.

Parameters

value System.String

The value for text content.

ArrowIcon(System.String)

The icon rendered for the arrow button of the SplitButton.

Parameters

value System.String

The value for ArrowIcon

Enabled(System.Boolean)

Indicates whether the SplitButton should be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected.

Parameters

value System.Boolean

The value for Enabled

Icon(System.String)

Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a span element inside the SplitButton. The span element can be added automatically by the widget, or an existing element can be used, if it has a k-icon CSS class applied. For a list of available icon names, please refer to the Icons demo.

Parameters

value System.String

The value for Icon

IconClass(System.String)

Defines a CSS class - or multiple classes separated by spaced - which are applied to a span element inside the SplitButton. Allows the usage of custom icons.

Parameters

value System.String

The value for IconClass

ImageUrl(System.String)

Defines a URL, which will be used for an img element inside the SplitButton. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL.The img element can be added automatically by the widget, or an existing element can be used, if it has a k-image CSS class applied.

Parameters

value System.String

The value for ImageUrl

Items(System.Action<Kendo.Mvc.UI.Fluent.SplitButtonItemFactory>)

Specifies the menu buttons of the SplitButton.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SplitButtonItemFactory>

The configurator for the items setting.

ItemTemplate(System.String)

Specifies a custom template for the menu items.

Parameters

value System.String

The value for ItemTemplate

ItemTemplateId(System.String)

Specifies a custom template for the menu items.

Parameters

templateId System.String

The ID of the template element for ItemTemplate

Popup(System.Action<Kendo.Mvc.UI.Fluent.SplitButtonPopupSettingsBuilder>)

The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SplitButtonPopupSettingsBuilder>

The configurator for the popup setting.

SpriteCssClass(System.String)

Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the SplitButton. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.

Parameters

value System.String

The value for SpriteCssClass

Messages(System.Action<Kendo.Mvc.UI.Fluent.SplitButtonMessagesSettingsBuilder>)

Allows localization of the strings that are used in the widget.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SplitButtonMessagesSettingsBuilder>

The configurator for the messages setting.

Size(Kendo.Mvc.UI.ComponentSize)

Sets the size of the component.

Parameters

value Kendo.Mvc.UI.ComponentSize

The value for Size

Rounded(Kendo.Mvc.UI.Rounded)

Sets a value controlling the border radius.

Parameters

value Kendo.Mvc.UI.Rounded

The value for Rounded

FillMode(Kendo.Mvc.UI.FillMode)

Sets a value controlling how the color is applied.

Parameters

value Kendo.Mvc.UI.FillMode

The value for FillMode

ThemeColor(Kendo.Mvc.UI.ThemeColor)

Sets the color of the component according to the applied theme.

Parameters

value Kendo.Mvc.UI.ThemeColor

The value for ThemeColor

Events(System.Action<Kendo.Mvc.UI.Fluent.SplitButtonEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.SplitButtonEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().SplitButton()
    .Name("SplitButton")
    .Events(events => events
        .Click("onClick")
    )
)
In this article
Not finding the help you need?