ClassPasteOptionsPopup
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
PasteOptionsPopup()
Initializes a new instance of the PasteOptionsPopup class.
Declaration
public PasteOptionsPopup()
Fields
currentCaretPosition
Declaration
protected DocumentPosition currentCaretPosition
Field Value
Properties
DropDownButton
Gets the drop-down button control inside the popup.
Declaration
public RadDropDownButton DropDownButton { get; }
Property Value
PasteOptionsPicker
Gets the menu item holding the paste options buttons.
Declaration
public RadMenuPasteOptionsToggleItem PasteOptionsPicker { get; }
Property Value
Methods
CalculatePopupLocation(RadRichTextBox)
Declaration
protected virtual Point CalculatePopupLocation(RadRichTextBox richTextBox)
Parameters
richTextBox
Returns
GetPasteOptiopnsItems()
Declaration
protected virtual RadItemCollection GetPasteOptiopnsItems()
Returns
Hide(RadRichTextBox)
Hides the popup with the paste options items.
Declaration
public void Hide(RadRichTextBox richTextBox)
Parameters
richTextBox
The RadRichTextBox object executing the PasteOptions logic.
HidePopup()
Declaration
protected override void HidePopup()
Overrides
OnPasteOptionsDropDownButtonKeyDown(object, KeyEventArgs)
Declaration
protected virtual void OnPasteOptionsDropDownButtonKeyDown(object sender, KeyEventArgs e)
Parameters
sender
e
Show(Point, RadRichTextBox)
Shows the popup with the paste options items at the specified location.
Declaration
public void Show(Point location, RadRichTextBox richTextBox)
Parameters
location
The location at which the popup will be shown.
richTextBox
The RadRichTextBox object executing the PasteOptions logic.
Show(RadRichTextBox)
Attaches the Popup to the given RichTextBox and initializes its content.
Declaration
public void Show(RadRichTextBox richTextBox)
Parameters
richTextBox
The RadRichTextBox object executing the PasteOptions logic.
Implements
SyncTheme()
Declaration
protected virtual void SyncTheme()
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
UpdateDropDownButtonIcon(string)
Declaration
protected virtual void UpdateDropDownButtonIcon(string themeName)
Parameters
themeName
UpdatePopupLocation()
Declaration
protected virtual void UpdatePopupLocation()
UpdatePopupLocation(Point)
Declaration
protected virtual void UpdatePopupLocation(Point location)
Parameters
location
WireEvents()
Declaration
protected virtual void WireEvents()