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

Declaration

public static IEnumerable<string> GetCssFiles(
    string name
)
Public Shared Function GetCssFiles(
    name As String
) As IEnumerable(Of String)

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