New to Telerik UI for ASP.NET Core? Download free 30-day trial
Styles
- EXAMPLE
- VIEW SOURCE
-
EDIT IN TELERIK REPL
-
Change Theme
default
- Main
- Main Dark
- Nordic
- Ocean Blue
- Purple
- Turquoise
- Main
- Main Dark
- Nordic
- Urban
- Vintage
- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
- Main
- Main Dark
- Opal
- Silver
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
The demo presents you how to use the Editor's style tool, which provides the ability to customize the component's content by means of custom CSS classes and styling, and a CSS file registered in the Editor iframe document.
You can register and import your own CSS file into the content area through the StyleSheets option:
.StyleSheets(css => css.Add(Url.Content("~/PATH_TO_CSS_FILE/CSS_FILE.css")))
Use the Tools -> Formatting -> Add("Dropdown Item Name",".CSS Class Name") method to populate the Format dropdown with options. Note that the specified CSS class should exist in the CSS file imported in the content area through the StyleSheets -> Add method.