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
Creates a popup menu owned and positioned by the specified element.
public RadDropDownButtonPopup(RadElement ownerElement)
The element that owns this popup.
Properties
The getter returns the full type name of RadDropDownMenu for theme lookup; the setter forwards assignments to the base property.
public override string ThemeClassName { get; set; }
Overrides:
Methods
Sets the horizontal and vertical anchors for the requested direction: Down uses left-to-left/top-to-bottom, Up left-to-left/bottom-to-top, Left right-to-left/top-to-top, and Right left-to-right/top-to-top.
protected virtual void AdjustDropDownAlignmentForPopupDirection(RadDirection popupDirection)
The direction in which the popup opens.
Applies the configured fit-to-screen limits and reserves space for a vertical scrollbar when reducing height and screen space permits.
Prevents the popup from closing in design mode while the pointer is over its owning control; otherwise uses the base close rules.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason the popup is being considered for closure.
Returns:Overrides:
Raises the base opening logic and enables keyboard cues on menu items and their nested menu items.
protected override void OnDropDownOpening(CancelEventArgs args)
Opening event data that allows the popup to be canceled.
Overrides:
Marks newly inserted menu items as popup items rather than main-menu items, preserving their drop-down behavior.
protected override void OnItemsChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
The collection whose contents changed.
targetRadItemThe item affected by the change.
operationItemsChangeOperationThe operation performed on the collection.
Overrides:
Applies direction-specific alignment before the base implementation positions and displays the popup.
protected override void ShowCore(Point point, int ownerOffset, RadDirection popupDirection)
The screen coordinates where the popup should be displayed.
ownerOffsetintThe offset from the owner element.
popupDirectionRadDirectionThe direction in which the popup opens.
Overrides: