Click or drag to resize
KaxEditorCssFiles Property
Gets a reference to a EditorCssFileCollection that can be used to add external CSS files in the editor content area.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public EditorCssFileCollection CssFiles { get; }

Property Value

Type: EditorCssFileCollection
A EditorCssFileCollection containing the names of the external CSS files that should be available in the editor's content area.
Remarks

By default, KaxEditor uses the CSS classes available in the current page. However, it can be configured to load external CSS files instead. This scenario is very common for editors integrated in back-end administration areas, which have one set of CSS classes, while the content is being saved in a database and displayed on the public area, which has a different set of CSS classes.

If this property is set the KaxEditor loads only the styles defined in the CssFiles collection. The styles defined in the current page are not loaded in the editor content area and the "Apply Class" dropdown.

If you want to load only a subset of the defined classes you can use the CssClasses property.

See Also