menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PasteCommand - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PasteCommand

    Implements a command to paste the clipboard contents.

    Inheritance
    System.Object
    CommandBase
    PasteCommand
    Implements
    System.Windows.Input.ICommand
    Inherited Members
    CommandBase.CanExecute(Object)
    CommandBase.CanExecuteChanged
    CommandBase.Execute(Object)
    CommandBase.OwnerControl
    Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
    Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
    Syntax
    public class PasteCommand : CommandBase, ICommand

    Constructors

    PasteCommand(SfRichTextBoxAdv)

    Initializes a new instance of the PasteCommand class for the specified SfRichTextBoxAdv.

    Declaration
    public PasteCommand(SfRichTextBoxAdv richTextBoxAdv)
    Parameters
    Type Name Description
    SfRichTextBoxAdv richTextBoxAdv

    The SfRichTextBoxAdv instance to which the PasteCommand is associated.

    Methods

    CanExecuteCommand(Object)

    Defines the method that determines whether the paste 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
    CommandBase.CanExecuteCommand(Object)

    ExecuteCommand(Object)

    Defines the method to be called when the paste 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
    CommandBase.ExecuteCommand(Object)

    Implements

    System.Windows.Input.ICommand

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved