IPopupControl
An interface for all Popup-forms used in RadControls for WinForms.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface IPopupControl
Derived Classes:
Properties
Children
List<IPopupControl>
Gets a List<T> instance that represents a collection of logical children of this IPopupControl. The OwnerPopup property of these children would point to this IPopupControl instance.
List<IPopupControl> Children { get; }
Gets the owner element of the IPopupControl.
RadElement OwnerElement { get; }
Gets the owner IPopupControl of this IPopupControl.
IPopupControl OwnerPopup { get; }
Methods
This method determines whether the IPopupControl can be closed. Used in the PopupManager class to prevent the IPopupControl from closing in specific occasions.
bool CanClosePopup(RadPopupCloseReason reason)
The reason why the IPopupControl is closed.
Returns:True if the IPopupControl can be closed, otherwise false.
Tries to close the IPopupControl.
void ClosePopup(PopupCloseInfo closeInfo)
An instance of the PopupCloseInfo class containing information about the close request.
Closes the IPopupControl.
Shows the IPopupControl at the specific location.
void ShowPopup(Rectangle alignmentRect)
An instance of the Rectangle struct which represents a portion of the screen which the IPopupControl is aligned to.