aspnet-devexpress-dot-web-dot-aspxhtmleditor-eeb5a680.md
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.v25.2.dll
NuGet Package : DevExpress.Web
public class HEAlignmentCenterRibbonCommand :
HERibbonToggleCommandBase
Public Class HEAlignmentCenterRibbonCommand
Inherits HERibbonToggleCommandBase
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.
Object StateManager CollectionItem RibbonItemBase RibbonButtonItem RibbonToggleButtonItem HERibbonToggleCommandBase HEAlignmentCenterRibbonCommand
See Also