Class AutoFitTableCommand
Represents the AutoFitTableCommand class.
Implements
System.Windows.Input.ICommand
Inherited Members
Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
Syntax
public class AutoFitTableCommand : CommandBase, ICommand
Constructors
AutoFitTableCommand(SfRichTextBoxAdv)
Initializes a new instance of the AutoFitTableCommand class.
Declaration
public AutoFitTableCommand(SfRichTextBoxAdv richTextBoxAdv)
Parameters
Type | Name | Description |
---|---|---|
SfRichTextBoxAdv | richTextBoxAdv | The SfRichTextBoxAdv instance to which the AutoFitTableCommand is associated. |
Methods
CanExecuteCommand(Object)
Defines the method that determines whether the command can execute in its current state.
Declaration
public override bool CanExecuteCommand(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | The command paramerter can be AutoFitType. Default value is FitToContents. |
Returns
Type | Description |
---|---|
System.Boolean | True if this command can be executed. |
Overrides
ExecuteCommand(Object)
Defines the method to be called when the command is invoked.
Declaration
protected override void ExecuteCommand(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | The command paramerter can be AutoFitType. Default value is FitToContents. |
Overrides
Implements
System.Windows.Input.ICommand