Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

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