PasteOptionsPopup
Represets a popup control with special placement rules that is used for hosting the PasteOptions UI.
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class PasteOptionsPopup : MiniToolBarBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IThemeChangeListener, IPasteOptionsPopup
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormShapedFormMiniToolBarBasePasteOptionsPopup...
Implements:
Inherited Members
Constructors
Initializes a new instance of the PasteOptionsPopup class.
public PasteOptionsPopup()
Fields
protected bool canUnwireEvents
protected DocumentPosition currentCaretPosition
protected readonly Size popupLayoutSize
Properties
Gets the drop-down button control inside the popup.
public RadDropDownButton DropDownButton { get; }
Gets the menu item holding the paste options buttons.
public RadMenuPasteOptionsToggleItem PasteOptionsPicker { get; }
Methods
protected virtual Point CalculatePopupLocation(RadRichTextBox richTextBox)
Hides the popup with the paste options items.
public void Hide(RadRichTextBox richTextBox)
The RadRichTextBox object executing the PasteOptions logic.
protected override void HidePopup()
Overrides:
protected virtual void OnPasteOptionsDropDownButtonKeyDown(object sender, KeyEventArgs e)
Shows the popup with the paste options items at the specified location.
public void Show(Point location, RadRichTextBox richTextBox)
The location at which the popup will be shown.
richTextBoxRadRichTextBoxThe RadRichTextBox object executing the PasteOptions logic.
Attaches the Popup to the given RichTextBox and initializes its content.
public void Show(RadRichTextBox richTextBox)
The RadRichTextBox object executing the PasteOptions logic.
Implements:
protected virtual void SyncTheme()
protected virtual void UnwireEvents()
protected virtual void UpdatePopupLocation()
protected virtual void WireEvents()