HtmlEditorCssFileCollection(IWebControlObject) Constructor
Initializes a new instance of the HtmlEditorCssFileCollection class with the specified owner.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
owner | DevExpress.Web.Internal.IWebControlObject | An object that implements the IWebControlObject interface and represents the owner of the created object. |
Example
protected void Page_Load(object sender, EventArgs e){
HtmlEditorCssFileCollection MyCollection = new HtmlEditorCssFileCollection(ASPxHtmlEditor1);
HtmlEditorCssFile MyCssFile = new HtmlEditorCssFile();
MyCssFile.FilePath = "~/MyStyles/Style1.css";
MyCollection.Add(MyCssFile);
}
See Also