This class represents the popup of the RadDropDownButton control.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadDropDownButtonPopup : RadDropDownMenu, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadItemsPopupControlRadDropDownMenuRadDropDownButtonPopup...
Derived Classes:
Implements:
Inherited Members
Constructors
Properties
Gets or sets the theme class name for the drop-down menu. The theme class name resolution follows a hierarchy: checking owner inheritance, local settings, owner control theme capability, and finally the default class name.
public override string ThemeClassName { get; set; }
Overrides:
Methods
protected virtual void AdjustDropDownAlignmentForPopupDirection(RadDirection popupDirection)
Determines whether the popup can be closed for the specified reason, considering owner element state and mouse interaction.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason for closing the popup.
Returns:True if the popup can be closed; otherwise, false.
Overrides:
protected override void OnDropDownOpening(CancelEventArgs args)
Overrides:
Handles changes to the menu items collection, updating hierarchy relationships and ownership.
protected override void OnItemsChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
The collection that was changed.
targetRadItemThe menu item that was affected by the change.
operationItemsChangeOperationThe type of change operation that occurred.
Overrides:
Core implementation for displaying the drop-down menu at the specified location with the given direction and offset. Handles DPI scaling, theme setup, layout calculation, and popup positioning.
protected override void ShowCore(Point point, int ownerOffset, RadDirection popupDirection)
The screen coordinates where the menu should be displayed.
ownerOffsetintThe offset from the owner element, in pixels.
popupDirectionRadDirectionThe direction in which the menu should open.
Overrides: