New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

C#
public TableCellContentAlignmentCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

Properties

Gets a value indicating whether command must be enabled when there is selection in table. Default implementation returns false.

C#
protected override bool IsTableSelectionEnabledCommand { get; }
Property Value:

true if the command must be enabled; otherwise, false.

Overrides: TableContextCommandBase.IsTableSelectionEnabledCommand

Methods

Performs the execute action specific to the command.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

The command parameter.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)

C#
public StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter> GetEventArgs()
Returns:

StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>

C#
protected virtual void OnCellContentAlignmentChanged(StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter> e)
Parameters:eStylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>
C#
public static bool TryConvertCommandParameter(object commandParameter, out RadTextAlignment textAlignment, out RadVerticalAlignment verticalAlignment)
Parameters:commandParameterobjecttextAlignmentRadTextAlignmentverticalAlignmentRadVerticalAlignmentReturns:

bool

C#
protected override void UpdateSpanStyle()

Overrides: RichTextBoxCommandBase.UpdateSpanStyle()

Events

C#
public event EventHandler<StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>> CellContentAlignmentChanged