Skip to main content

HEFontColorRibbonCommand Class

A Ribbon item that allows the required color to be applied to the text selected within the design view area.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class HEFontColorRibbonCommand :
    HERibbonColorCommandBase

Remarks

The ASPxHtmlEditor allows end-users to change the font color of the editor’s selected text by using the Fore Color button (HEFontColorRibbonCommand). Clicking the Fore Color button opens a drop down window with predefined colors.

ASPxHtmlEditor-Concepts-WorkingWithcontent-ForeColorDialog

You can fill the drop down window with custom colors using the RibbonColorButtonItemBase.Items property.

If the button’s HERibbonColorCommandBase.EnableCustomColors property is set to true, end-users can select a custom color using the color picker.

FontColor

See Also