ASPxHtmlEditor.StylesContextMenu Property
In This Article
Provides access to the style settings that define the appearance of the editor’s context menu.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public HtmlEditorMenuStyles StylesContextMenu { get; }
#Property Value
Type | Description |
---|---|
Html |
A Html |
#Remarks
This property is not in effect if the ASPxHtmlEditorSettings.AllowContextMenu property is set to Default value.
The following code snippets demonstrate how to use the StylesContextMenu property.
ASPxHtmlEditor1.StylesContextMenu.Item.Font.Italic = true;
ASPxHtmlEditor1.StylesContextMenu.Item.ForeColor = "#336699";
ASPxHtmlEditor1.StylesContextMenu.Item.HoverStyle.BackColor = "#CCFFFF";
ASPxHtmlEditor1.StylesContextMenu.Item.HoverStyle.Border.BorderColor = "#336699";
See Also