Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

public HtmlEditorEditorStyles StylesEditors { get; }

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="&alpha;" Text="&alpha;" ToolTip="Greek small letter alpha">
                              </dx:ToolbarItemPickerItem>
                              <dx:ToolbarItemPickerItem Value="&beta;" Text="&beta;" ToolTip="Greek small letter beta">
                              </dx:ToolbarItemPickerItem>
                              <dx:ToolbarItemPickerItem Value="&pi;" Text="&pi;" ToolTip="Greek small letter pi">
                              </dx:ToolbarItemPickerItem>
                              ...
                         </Items>
                    </dx:ToolbarDropDownItemPicker>
               </Items>
          </dx:HtmlEditorToolbar>
     </Toolbars>
     <StylesEditors>
          <DropDownItemPickerItemStyle Font-Size="20px">
          </DropDownItemPickerItemStyle>
     </StylesEditors>
</dx:ASPxHtmlEditor> 

ASPxHtmlEditor-DropDownItemPicker

For a full example, see HTML Editor - Drop-down Item Picker demo.

See Also