Skip to main content
Tab

EditPropertiesBase.CssFilePath Property

Gets or sets the path to a CSS file that defines the editor’s appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public virtual string CssFilePath { get; set; }

Property Value

Type Default Description
String String.Empty

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

Remarks

Use the CssFilePath property together with the EditPropertiesBase.CssPostfix property in order to define an editor’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 an editor’s designer) and supplementing class names with a custom postfix set via the EditPropertiesBase.CssPostfix property.

Note

The CssFilePath property synchronizes its value with the editor’s ASPxEditBase.CssFilePath property.

See Also