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.
|
IsPopupOpen
Declaration
public virtual bool IsPopupOpen { get; }
Property Value
System.
|
OwnerOffset
Declaration
public int OwnerOffset { get; set; }
Property Value
System.
|
PopupForm
Gets the popup form
Declaration
public virtual RadPopupControlBase PopupForm { get; }
Property Value
Methods
ApplyThemeToPopup(RadElementTree, RadPopupControlBase)
Declaration
public static void ApplyThemeToPopup(RadElementTree elementTree, RadPopupControlBase popup)
Parameters
Rad
|
Rad
|
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
Rad
|
CanDisplayPopup()
Determines whether the popup form may be displayed.
Declaration
protected virtual bool CanDisplayPopup()
Returns
System.
|
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
Rad 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.
|
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
Rad 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.
|
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.
|
GetPopupForm()
Gets a valid instance of the popup, that is properly initialized to work with the PopupEditorBaseElement.
Declaration
protected virtual RadPopupControlBase GetPopupForm()
Returns
Rad The popup instance. |
GetPopupLocation(RadPopupControlBase)
Gets the screen coordinated where the popup should be displayed.
Declaration
protected virtual Point GetPopupLocation(RadPopupControlBase popup)
Parameters
Rad
|
Returns
System.
|
GetPopupSize(RadPopupControlBase, Boolean)
Gets the display size for the popup.
Declaration
protected virtual Size GetPopupSize(RadPopupControlBase popup, bool measure)
Parameters
Rad The popup which size should be retrieved. |
System. True to perform explicit measure, false otherwise. |
Returns
System.
|
OnEditorKeyDown(KeyEventArgs)
Declaration
protected void OnEditorKeyDown(KeyEventArgs e)
Parameters
System.
|
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.
|
Overrides
OnPopupClosed(RadPopupClosedEventArgs)
Declaration
protected virtual void OnPopupClosed(RadPopupClosedEventArgs e)
Parameters
OnPopupClosing(RadPopupClosingEventArgs)
Declaration
protected virtual void OnPopupClosing(RadPopupClosingEventArgs e)
Parameters
OnPopupOpened(EventArgs)
Declaration
protected virtual void OnPopupOpened(EventArgs args)
Parameters
System.
|
OnPopupOpening(CancelEventArgs)
Declaration
protected virtual void OnPopupOpening(CancelEventArgs e)
Parameters
System.
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
ProcessPopupTabKey(KeyEventArgs)
Declaration
protected virtual void ProcessPopupTabKey(KeyEventArgs e)
Parameters
System.
|
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
Rad 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
Rad
|
UpdatePopupMinMaxSize(RadPopupControlBase)
Applies any Min/Max size restrictions to the popup form.
Declaration
protected virtual void UpdatePopupMinMaxSize(RadPopupControlBase popup)
Parameters
Rad
|
WirePopupFormEvents(RadPopupControlBase)
Declaration
protected virtual void WirePopupFormEvents(RadPopupControlBase popup)
Parameters
Rad
|
Events
PopupClosed
Declaration
public virtual event RadPopupClosedEventHandler PopupClosed
Event Type
PopupClosing
Declaration
public virtual event RadPopupClosingEventHandler PopupClosing
Event Type
PopupOpened
Declaration
public virtual event EventHandler PopupOpened
Event Type
System.
|
PopupOpening
Declaration
public virtual event CancelEventHandler PopupOpening
Event Type
System.
|