Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

public static IEnumerable<string> GetCssFiles(
    string name
)

Parameters

Name Type Description
name String

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

Returns

Type Description
IEnumerable<String>

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

Remarks

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