Tab
A newer version of this page is available. Switch to the current version.

StylesBase.CssFilePath Property

Gets or sets the path to a CSS file that defines the web control's appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue("")]
public string CssFilePath { get; set; }
<DefaultValue("")>
Public Property CssFilePath As String

Property Value

Type Default Description
String

String.Empty

A String value that specifies the path to the required CSS file.

Property Paths

You can access this nested property as listed below:

Object Type Path to CssFilePath
ASPxHtmlEditor
.StylesPasteOptionsBar.CssFilePath
HtmlEditorSettings
.StylesPasteOptionsBar.CssFilePath
MVCxHtmlEditor
.StylesPasteOptionsBar.CssFilePath

Remarks

Use the CssFilePath property together with the StylesBase.CssPostfix property in order to define a web control's custom appearance using a separate CSS file. The CssFilePath property specifies the CSS file's location which can be set by either an absolute or relative path. The specified CSS file's content can be provided by copying the content of a sample CSS file (which can be invoked by clicking the "View CSS Sample" command in a control's designer) and supplementing class names with a custom postfix set via the StylesBase.CssPostfix property.

See Also