HtmlEditorExtension.GetCssFiles(String) Method

Gets a collection of items that refer to external CSS files associated with the HtmlEditor.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.2.dll


public static IEnumerable<string> GetCssFiles(
    string name


Name Type Description
name String

A string value that specifies the HtmlEditor’s name (SettingsBase.Name).


Type Description

A collection of strings that are the contents of external CSS files associated with HtmlEditor via its HtmlEditorSettings.CssFiles property.


You can use the static GetCssFiles method to obtain CSS styles associated with a specific HtmlEditor. The editor is specified by its SettingsBase.Name property value.

HtmlEditor content can be obtained via the static HtmlEditorExtension.GetHtml method.

See Also