RadGalleryDropDown
This class represents the drop-down of the RadGalleryElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadGalleryDropDown : RadDropDownMenu, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadItemsPopupControlRadDropDownMenuRadGalleryDropDown...
Implements:
Inherited Members
Constructors
Initializes the drop-down owned by a gallery and configures its fade-out animation.
public RadGalleryDropDown(RadGalleryElement ownerElement)
The gallery that owns this drop-down.
Properties
Uses the gallery menu theme class when resolving styles for this drop-down.
public override string ThemeClassName { get; set; }
Overrides:
Methods
Keeps the popup open while the mouse pointer is within its bounds; otherwise uses the base close decision.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason the popup is being considered for closing.
Returns:false while the pointer is inside the gallery popup; otherwise, the base result.
Overrides:
Performs a click on the gallery item currently marked as hovered in the popup.
public void ClickFocusedItem()
Clears the previous keyboard-focused hover marker when the pointer moves over a gallery item.
protected override void OnMouseMove(MouseEventArgs e)
The mouse-move event data.
Overrides:
When a gallery item is hovered, moves the hover/focus marker to the adjacent item in the popup's visual order.
Moves the hover/focus marker to the nearest gallery item above or below the current item, or starts at the first item if none is hovered.
Resolves split-button and drop-down-button descendants against the active theme's style group.
public override StyleGroup ResolveStyleGroupForElement(StyleGroup styleGroup, RadObject element)
The fallback style group.
elementRadObjectThe element whose style group is being resolved.
Returns:The active theme's group for supported button elements, or the base resolution for other elements.
Overrides: