# Appearance

In this article, you will find information about the rendering and styling options of the Telerik UI for ASP.NET Core SplitButton.

For a live example, refer to the [Appearance Demo of the SplitButton](https://demos.telerik.com/aspnet-core/splitbutton/appearance).

## Options

The SplitButton provides the following methods for styling:

* [`Size()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/splitbutton/appearance#size)—configures the overall size of the component.
* [`ThemeColor()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/splitbutton/appearance#themecolor)—configures what color will be applied to the component.
* [`FillMode()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/splitbutton/appearance#fillmode)—defines how the color is applied to the component.
* [`Rounded()`](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/splitbutton/appearance#rounded)—determines the border radius of the component.

### Size

To control the size of the SplitButton, configure the `Size()` method with any of the following values:

* `Small`
* `Medium`
* `Large`
* `None`

> When not explicitly set, the applied theme controls the default size.

```Razor HtmlHelper
    @(Html.Kendo().SplitButton()
        .Name("splitButton")
        .Icon("clipboard")
        .Size(ComponentSize.Medium)
        .Items(items =>
        {
            items.Add().Id("keep-text").Text("Keep Text Only").Icon("clipboard-text");
            items.Add().Id("paste-html").Text("Paste as HTML").Icon("clipboard-code");
            items.Add().Id("paste-markdown").Text("Paste Markdown").Icon("clipboard-markdown");
        }
    )
```

```Razor TagHelper
    <kendo-splitbutton name="splitButton" text="Paste" icon="clipboard" size="ComponentSize.Medium">
        <splitbutton-items>
            <item id="keep-text" text="Keep Text Only" icon="clipboard-text"></item>
            <item id="paste-html" text="Paste as HTML" icon="clipboard-code"></item>
            <item id="paste-markdown" text="Paste Markdown" icon="clipboard-markdown"></item>
        </splitbutton-items>
    </kendo-splitbutton>
```

### FillMode

To manipulate the fill mode of the SplitButton, configure the `FillMode()` method with any of the following values:

* `Solid`
* `Outline`
* `Flat`
* `None`

> When not explicitly set, the applied theme controls the default fill mode.

```Razor HtmlHelper
    @(Html.Kendo().SplitButton()
        .Name("splitButton")
        .Icon("clipboard")
        .FillMode(FillMode.Solid)
        .Items(items =>
        {
            items.Add().Id("keep-text").Text("Keep Text Only").Icon("clipboard-text");
            items.Add().Id("paste-html").Text("Paste as HTML").Icon("clipboard-code");
            items.Add().Id("paste-markdown").Text("Paste Markdown").Icon("clipboard-markdown");
        }
    )
```

```Razor TagHelper
    <kendo-splitbutton name="splitButton" text="Paste" icon="clipboard" fill-mode="FillMode.Solid">
        <splitbutton-items>
            <item id="keep-text" text="Keep Text Only" icon="clipboard-text"></item>
            <item id="paste-html" text="Paste as HTML" icon="clipboard-code"></item>
            <item id="paste-markdown" text="Paste Markdown" icon="clipboard-markdown"></item>
        </splitbutton-items>
    </kendo-splitbutton>
```

### ThemeColor

To specify the theme color of the SplitButton, configure the `ThemeColor()` method with any of the following values:

* `Base`
* `Primary`
* `Secondary`
* `Tertiary`
* `Info`
* `Success`
* `Warning`
* `Error`
* `Inverse`

> When not explicitly set, the applied theme controls the default theme color.

```Razor HtmlHelper
    @(Html.Kendo().SplitButton()
        .Name("splitButton")
        .Icon("clipboard")
        .ThemeColor(ThemeColor.Base)
        .Items(items =>
        {
            items.Add().Id("keep-text").Text("Keep Text Only").Icon("clipboard-text");
            items.Add().Id("paste-html").Text("Paste as HTML").Icon("clipboard-code");
            items.Add().Id("paste-markdown").Text("Paste Markdown").Icon("clipboard-markdown");
        }
    )
```

```Razor TagHelper
    <kendo-splitbutton name="splitButton" text="Paste" icon="clipboard" theme-color="ThemeColor.Base">
        <splitbutton-items>
            <item id="keep-text" text="Keep Text Only" icon="clipboard-text"></item>
            <item id="paste-html" text="Paste as HTML" icon="clipboard-code"></item>
            <item id="paste-markdown" text="Paste Markdown" icon="clipboard-markdown"></item>
        </splitbutton-items>
    </kendo-splitbutton>
```

### Rounded

To set the border radius of the SplitButton, configure the `Rounded()` method with any of the following values:

* `Small`
* `Medium`
* `Large`
* `Full`
* `None`

> When not explicitly set, the applied theme controls the default border radius.

```Razor HtmlHelper
    @(Html.Kendo().SplitButton()
        .Name("splitButton")
        .Icon("clipboard")
        .Rounded(Rounded.Medium)
        .Items(items =>
        {
            items.Add().Id("keep-text").Text("Keep Text Only").Icon("clipboard-text");
            items.Add().Id("paste-html").Text("Paste as HTML").Icon("clipboard-code");
            items.Add().Id("paste-markdown").Text("Paste Markdown").Icon("clipboard-markdown");
        }
    )
```

```Razor TagHelper
    <kendo-splitbutton name="splitButton" text="Paste" icon="clipboard" rounded="Rounded.Medium">
        <splitbutton-items>
            <item id="keep-text" text="Keep Text Only" icon="clipboard-text"></item>
            <item id="paste-html" text="Paste as HTML" icon="clipboard-code"></item>
            <item id="paste-markdown" text="Paste Markdown" icon="clipboard-markdown"></item>
        </splitbutton-items>
    </kendo-splitbutton>
```

## Rendering

To review the rendering of the component, refer to the HTML specifications in the [Kendo UI Themes Monorepo](https://github.com/telerik/kendo-themes/tree/develop). The `tests` folder of the repository contains the rendering for all flavors of the components, providing a clear reference for how their elements are structured. The rendering information can help you customize a component's appearance and behavior by applying custom CSS or JavaScript to suit specific design or functional requirements.

## See Also

* [Appearance of the SplitButton HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/splitbutton/appearance)

* [Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/splitbutton)

* [Server-Side TagHelper API](https://www.telerik.com/aspnet-core-ui/documentation/api/taghelpers/splitbutton)

* [Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/splitbutton)
