Class LayoutTypeCommand
Implements a command to set the layout type.
Implements
System.Windows.Input.ICommand
Inherited Members
Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
Syntax
public class LayoutTypeCommand : CommandBase, ICommand
Constructors
LayoutTypeCommand(SfRichTextBoxAdv)
Initializes a new instance of the LayoutTypeCommand class for the specified SfRichTextBoxAdv.
Declaration
public LayoutTypeCommand(SfRichTextBoxAdv richTextBoxAdv)
Parameters
Type | Name | Description |
---|---|---|
SfRichTextBoxAdv | richTextBoxAdv | The SfRichTextBoxAdv instance to which the LayoutTypeCommand 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 | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
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 | Data used by the command. If the command does not require data to be passed, this object can be set to null. |
Overrides
Implements
System.Windows.Input.ICommand