Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadDateTimePickerDropDown : RadEditorPopupControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, INotifyPropertyChanged
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadSizablePopupControlRadEditorPopupControlBaseRadDateTimePickerDropDown...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadDateTimePickerDropDown class with the specified owner element.
Fields
Gets or sets the owner control of the popup, representing the parent control that hosts this dropdown.
public RadControl OwnerControl
Properties
Gets or sets the hosted control in the popup.
[Browsable(false)]
public RadControl HostedControl { get; set; }
Methods
Automatically updates the minimum and maximum bounds for the popup control based on current size.
protected void AutoUpdateBounds()
Backs up the current height and width dimensions if they haven't been backed up previously.
protected virtual void BackupBounds()
Determines whether the popup can be closed for the specified reason, with special handling for mouse-based closing when over arrow button.
public override bool CanClosePopup(RadPopupCloseReason reason)
The RadPopupCloseReason indicating why the popup is requested to close.
Returns:True if the popup can be closed; otherwise, false.
Overrides:
Creates child elements for the dropdown popup and configures the sizing grip dock layout properties.
protected override void CreateChildItems(RadElement parent)
The parent RadElement to which child elements will be added.
Overrides:
Releases the unmanaged resources used by the popup control and optionally releases the managed resources, including event handler cleanup.
protected override void Dispose(bool disposing)
True to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Hides the popup control by closing it with the CloseCalled reason.
public void HideControl()
Shows the popup control with the specified direction and owner offset, configuring the sizing grip and positioning based on RTL settings.
public Point ShowControl(RadDirection popupDirection, int ownerOffset)
The RadDirection indicating the preferred direction for the popup display.
ownerOffsetintThe offset value from the owner element for positioning the popup.
Returns:The Point representing the final location of the displayed popup.
Events
Occurs when the drop down is closed
public event RadPopupClosedEventHandler Closed
Occurs when the drop down is closing
public event RadPopupClosingEventHandler Closing
Occurs when the drop down is opened
public event EventHandler Opened
Occurs when the drop down is opening
public event CancelEventHandler Opening