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.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public class HEAlignmentCenterRibbonCommand :
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.