ASPxHtmlEditor.StylesEditors Property
Provides access to the style settings that define the appearance of editor elements used by the ASPxHtmlEditor control (for instance, within dialog forms).
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
HtmlEditorEditorStyles | A HtmlEditorEditorStyles object that contains style settings. |
Remarks
<dx:ASPxHtmlEditor ID="DemoHtmlEditor" runat="server" Height="350px" ClientInstanceName="HtmlEditor" Width="100%">
<ClientSideEvents CustomCommand="OnCommandExecute" />
<Toolbars>
<dx:HtmlEditorToolbar>
<Items>
...
<dx:ToolbarDropDownItemPicker CommandName="InsertSpecialSymbol" ClickMode="ShowDropDown"
ColumnCount="6" ToolTip="Insert Special Symbol" ItemHeight="34" ItemWidth="34">
<Image Width="16px" Height="16px">
</Image>
<Items>
<dx:ToolbarItemPickerItem Value="α" Text="α" ToolTip="Greek small letter alpha">
</dx:ToolbarItemPickerItem>
<dx:ToolbarItemPickerItem Value="β" Text="β" ToolTip="Greek small letter beta">
</dx:ToolbarItemPickerItem>
<dx:ToolbarItemPickerItem Value="π" Text="π" ToolTip="Greek small letter pi">
</dx:ToolbarItemPickerItem>
...
</Items>
</dx:ToolbarDropDownItemPicker>
</Items>
</dx:HtmlEditorToolbar>
</Toolbars>
<StylesEditors>
<DropDownItemPickerItemStyle Font-Size="20px">
</DropDownItemPickerItemStyle>
</StylesEditors>
</dx:ASPxHtmlEditor>
For a full example, see HTML Editor - Drop-down Item Picker demo.
See Also