Class
PasteOptionsPopup

Represets a popup control with special placement rules that is used for hosting the PasteOptions UI.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class PasteOptionsPopup : Popup, IPasteOptionsPopup

Inheritance: objectPasteOptionsPopup

Implements: IPasteOptionsPopup

Constructors

PasteOptionsPopup()

Initializes a new instance of the PasteOptionsPopup class.

Declaration

cs-api-definition
public PasteOptionsPopup()

Methods

Close()

Closes the paste options popup.

Declaration

cs-api-definition
public bool Close()

Returns

bool

Returns a boolean indicating whether the popup was successfully closed.

Implements IPasteOptionsPopup.Close()

Remarks

This method will hide the popup and release any resources associated with it.

OnOpened(EventArgs)

Declaration

cs-api-definition
protected override void OnOpened(EventArgs e)

Parameters

e

EventArgs

Show(RadRichTextBox)

Attaches the Popup to the given RichTextBox and initializes its content.

Declaration

cs-api-definition
public void Show(RadRichTextBox richTextBox)

Parameters

richTextBox

RadRichTextBox

Implements IPasteOptionsPopup.Show(RadRichTextBox)

ShowContent()

Displays the content options available for pasting.

Declaration

cs-api-definition
public bool ShowContent()

Returns

bool

A boolean indicating whether the content was successfully displayed.

Implements IPasteOptionsPopup.ShowContent()