DialogCssClassItem.Selected Property
Specifies whether the CSS class item is selected.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
The Selected property allows you to specify the default CSS class for Insert dialogs (the Insert Audio dialog, Insert Flash dialog, Insert Image dialog, Insert Video dialog, and Insert YouTube Video dialogs). Note that the Selected property does not affect a dialog opened for an existing element (e.g., the Change Image dialog, Change Video dialog).
<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server">
<SettingsDialogs>
<InsertVideoDialog>
<CssClassItems>
<dx:InsertMediaCssClassItem CssClass="myCssClass" Text="My CSS Class" Selected="true" />
</CssClassItems>
</InsertVideoDialog>
</SettingsDialogs>
</dx:ASPxHtmlEditor>
See Also