Class PopupEditorBaseElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class PopupEditorBaseElement : EditorBaseElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IInputEditor, IValueEditor, ISupportInitialize
Constructors
PopupEditorBaseElement()
Declaration
protected PopupEditorBaseElement()
Properties
EditorContainsFocus
Declaration
public bool EditorContainsFocus { get; }
Property Value
System.Boolean
|
IsPopupOpen
Declaration
public virtual bool IsPopupOpen { get; }
Property Value
System.Boolean
|
OwnerOffset
Declaration
public int OwnerOffset { get; set; }
Property Value
System.Int32
|
PopupForm
Gets the popup form
Declaration
public virtual RadPopupControlBase PopupForm { get; }
Property Value
RadPopupControlBase
|
Methods
ApplyThemeToPopup(RadElementTree, RadPopupControlBase)
Declaration
public static void ApplyThemeToPopup(RadElementTree elementTree, RadPopupControlBase popup)
Parameters
RadElementTree
elementTree
|
RadPopupControlBase
popup
|
ApplyThemeToPopup(RadPopupControlBase)
Syncronizes the theme of the editor itself with the popup that is about to be displayed.
Declaration
protected virtual void ApplyThemeToPopup(RadPopupControlBase popup)
Parameters
RadPopupControlBase
popup
|
CanDisplayPopup()
Determines whether the popup form may be displayed.
Declaration
protected virtual bool CanDisplayPopup()
Returns
System.Boolean
|
ClosePopup()
Closes the popup with a RadPopupCloseReason.CloseCalled reason.
Declaration
public virtual void ClosePopup()
ClosePopup(RadPopupCloseReason)
Closes the popup with the provided reason for closing.
Declaration
public virtual void ClosePopup(RadPopupCloseReason reason)
Parameters
RadPopupCloseReason
reason
the reason for the close operation as specified through RadPopupCloseReason enumeration. |
ControlBoundingRectangleSize()
Gets the size of the ControlBoundingRectangle.
Declaration
protected virtual Size ControlBoundingRectangleSize()
Returns
System.Drawing.Size
|
CreatePopupForm()
Creates the popup instance. You have to override this method in order to provide a popup that is specialized by its content. Example: In a combo box you have to override and provide a specialized class that contains and handles the listbox element.
Declaration
protected virtual RadPopupControlBase CreatePopupForm()
Returns
RadPopupControlBase
The popup instance. |
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DisposePopupForm()
Declaration
protected void DisposePopupForm()
DisposePopupFormCore(Boolean)
Declaration
protected virtual void DisposePopupFormCore(bool dispose)
Parameters
System.Boolean
dispose
|
GetInitialPopupSize()
Used to initialize the size of the popup when it is initially opened and the element tree is loaded.
Declaration
protected virtual Size GetInitialPopupSize()
Returns
System.Drawing.Size
|
GetPopupForm()
Gets a valid instance of the popup, that is properly initialized to work with the PopupEditorBaseElement.
Declaration
protected virtual RadPopupControlBase GetPopupForm()
Returns
RadPopupControlBase
The popup instance. |
GetPopupLocation(RadPopupControlBase)
Gets the screen coordinated where the popup should be displayed.
Declaration
protected virtual Point GetPopupLocation(RadPopupControlBase popup)
Parameters
RadPopupControlBase
popup
|
Returns
System.Drawing.Point
|
GetPopupSize(RadPopupControlBase, Boolean)
Gets the display size for the popup.
Declaration
protected virtual Size GetPopupSize(RadPopupControlBase popup, bool measure)
Parameters
RadPopupControlBase
popup
The popup which size should be retrieved. |
System.Boolean
measure
True to perform explicit measure, false otherwise. |
Returns
System.Drawing.Size
|
OnEditorKeyDown(KeyEventArgs)
Declaration
protected void OnEditorKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnPopupClosed(RadPopupClosedEventArgs)
Declaration
protected virtual void OnPopupClosed(RadPopupClosedEventArgs e)
Parameters
RadPopupClosedEventArgs
e
|
OnPopupClosing(RadPopupClosingEventArgs)
Declaration
protected virtual void OnPopupClosing(RadPopupClosingEventArgs e)
Parameters
RadPopupClosingEventArgs
e
|
OnPopupOpened(EventArgs)
Declaration
protected virtual void OnPopupOpened(EventArgs args)
Parameters
System.EventArgs
args
|
OnPopupOpening(CancelEventArgs)
Declaration
protected virtual void OnPopupOpening(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
ProcessPopupTabKey(KeyEventArgs)
Declaration
protected virtual void ProcessPopupTabKey(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
ShowPopup()
Displays the popup on the screen.
Declaration
public virtual void ShowPopup()
ShowPopupCore(RadPopupControlBase)
Performs the core popup display logic.
Declaration
protected virtual void ShowPopupCore(RadPopupControlBase popup)
Parameters
RadPopupControlBase
popup
The popup form that is about to be displayed. |
TooglePopupState()
Closes the popup if it is open, or shows the popup if it is closed.
Declaration
protected virtual void TooglePopupState()
UnwirePopupFormEvents(RadPopupControlBase)
Declaration
protected virtual void UnwirePopupFormEvents(RadPopupControlBase popup)
Parameters
RadPopupControlBase
popup
|
UpdatePopupMinMaxSize(RadPopupControlBase)
Applies any Min/Max size restrictions to the popup form.
Declaration
protected virtual void UpdatePopupMinMaxSize(RadPopupControlBase popup)
Parameters
RadPopupControlBase
popup
|
WirePopupFormEvents(RadPopupControlBase)
Declaration
protected virtual void WirePopupFormEvents(RadPopupControlBase popup)
Parameters
RadPopupControlBase
popup
|
Events
PopupClosed
Declaration
public virtual event RadPopupClosedEventHandler PopupClosed
Event Type
RadPopupClosedEventHandler
|
PopupClosing
Declaration
public virtual event RadPopupClosingEventHandler PopupClosing
Event Type
RadPopupClosingEventHandler
|
PopupOpened
Declaration
public virtual event EventHandler PopupOpened
Event Type
System.EventHandler
|
PopupOpening
Declaration
public virtual event CancelEventHandler PopupOpening
Event Type
System.ComponentModel.CancelEventHandler
|