Class StrikeThroughCommand
Implements a command to set strike through style for the selected text.
Implements
System.Windows.Input.ICommand
Inherited Members
Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
Syntax
public class StrikeThroughCommand : CommandBase, ICommand
Constructors
StrikeThroughCommand(SfRichTextBoxAdv)
Initializes a new instance of the StrikeThroughCommand class for the specified SfRichTextBoxAdv.
Declaration
public StrikeThroughCommand(SfRichTextBoxAdv richTextBoxAdv)
Parameters
Type | Name | Description |
---|---|---|
SfRichTextBoxAdv | richTextBoxAdv | The SfRichTextBoxAdv instance to which the StrikeThroughCommand is associated. |
Methods
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