Class PasteOptionsPopup
Represets a popup control with special placement rules that is used for hosting the PasteOptions UI.
Inherited Members
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class PasteOptionsPopup : MiniToolBarBase, IThemeChangeListener, IPasteOptionsPopup
Constructors
PasteOptionsPopup()
Fields
canUnwireEvents
Declaration
protected bool canUnwireEvents
Field Value
System.
|
currentCaretPosition
popupLayoutSize
Declaration
protected readonly Size popupLayoutSize
Field Value
System.
|
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
Rad
|
Returns
GetPasteOptiopnsItems()
GetScreenPopupLocation(Point)
Declaration
protected virtual Point GetScreenPopupLocation(Point location)
Parameters
Point
location
|
Returns
System.
|
Hide(RadRichTextBox)
Hides the popup with the paste options items.
Declaration
public void Hide(RadRichTextBox richTextBox)
Parameters
Rad The RadRichTextBox object executing the PasteOptions logic. |
HidePopup()
OnDropDownMenuPopupClosed(Object, EventArgs)
Declaration
protected virtual void OnDropDownMenuPopupClosed(object sender, EventArgs args)
Parameters
System.
|
System.
|
OnPasteOptionsDropDownButtonKeyDown(Object, KeyEventArgs)
Declaration
protected virtual void OnPasteOptionsDropDownButtonKeyDown(object sender, KeyEventArgs e)
Parameters
System.
|
System.
|
Show(Point, RadRichTextBox)
Shows the popup with the paste options items at the specified location.
Declaration
public void Show(Point location, RadRichTextBox richTextBox)
Parameters
System. The location at which the popup will be shown. |
Rad 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
Rad 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
System.
|
UpdatePopupLocation()
Declaration
protected virtual void UpdatePopupLocation()
UpdatePopupLocation(Point)
WireEvents()
Declaration
protected virtual void WireEvents()