New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class PasteOptionsPopup : Popup, IPasteOptionsPopup

Inheritance: objectPasteOptionsPopup

Implements: IPasteOptionsPopup

Constructors

Initializes a new instance of the PasteOptionsPopup class.

C#
public PasteOptionsPopup()

Methods

Closes the paste options popup.

C#
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.

C#
protected override void OnOpened(EventArgs e)
Parameters:eEventArgs

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

C#
public void Show(RadRichTextBox richTextBox)
Parameters:richTextBoxRadRichTextBox

Implements: IPasteOptionsPopup.Show(RadRichTextBox)

Displays the content options available for pasting.

C#
public bool ShowContent()
Returns:

bool

A boolean indicating whether the content was successfully displayed.

Implements: IPasteOptionsPopup.ShowContent()