HEAlignmentCenterRibbonCommand Class

A Ribbon item that allows a paragraph whose content is selected within the design view area to be centered.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

public class HEAlignmentCenterRibbonCommand :
    HERibbonToggleCommandBase
Public Class HEAlignmentCenterRibbonCommand
    Inherits HERibbonToggleCommandBase

Remarks

The ASPxHtmlEditor provides alignment formatting for the selected editor's paragraph by using the Align Left (HEAlignmentLeftRibbonCommand), Align Right (HEAlignmentRightRibbonCommand), Align Center (HEAlignmentCenterRibbonCommand) and Justify (HEAlignmentJustifyRibbonCommand) buttons.

You can add these buttons to the ribbon by using either the ASPxHtmlEditor designer at design time, or programmatically.

See Also