Back to Devexpress

HEAlignmentCenterRibbonCommand Class

aspnet-devexpress-dot-web-dot-aspxhtmleditor-eeb5a680.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class HEAlignmentCenterRibbonCommand :
    HERibbonToggleCommandBase
vb
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.

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

Inheritance

Object StateManager CollectionItem RibbonItemBase RibbonButtonItem RibbonToggleButtonItem HERibbonToggleCommandBase HEAlignmentCenterRibbonCommand

See Also

HEAlignmentCenterRibbonCommand Members

DevExpress.Web.ASPxHtmlEditor Namespace