ClassTableCellContentAlignmentCommand
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TableCellContentAlignmentCommand : TableContextCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseTableContextCommandBaseTableCellContentAlignmentCommand
Implements:
Inherited Members
Constructors
TableCellContentAlignmentCommand(RadRichTextBox)
Declaration
public TableCellContentAlignmentCommand(RadRichTextBox editor)
Parameters
editor
Properties
IsTableSelectionEnabledCommand
Gets a value indicating whether command must be enabled when there is selection in table. Default implementation returns false.
Declaration
protected override bool IsTableSelectionEnabledCommand { get; }
Property Value
true if the command must be enabled; otherwise, false.
Overrides
Methods
ExecuteOverride(object)
Performs the execute action specific to the command.
Declaration
protected override void ExecuteOverride(object parameter)
Parameters
parameter
The command parameter.
Overrides
GetEventArgs()
Declaration
public StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter> GetEventArgs()
Returns
StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>
OnCellContentAlignmentChanged(StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>)
Declaration
protected virtual void OnCellContentAlignmentChanged(StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter> e)
Parameters
e
StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>
TryConvertCommandParameter(object, out RadTextAlignment, out RadVerticalAlignment)
Declaration
public static bool TryConvertCommandParameter(object commandParameter, out RadTextAlignment textAlignment, out RadVerticalAlignment verticalAlignment)
Parameters
commandParameter
textAlignment
verticalAlignment
Returns
UpdateSpanStyle()
Declaration
protected override void UpdateSpanStyle()
Overrides
Events
CellContentAlignmentChanged
Declaration
public event EventHandler<StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>> CellContentAlignmentChanged
Event Value
EventHandler<StylePropertyChangedEventArgs<TableCellContentAlignmentCommandParameter>>