Hosts a gallery's scrollable groups, optional group filter, tool commands, and popup sizing grip.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadGalleryPopupElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadGalleryPopupElement...
Implements:
Inherited Members
Constructors
Creates popup content from the supplied collections, sizes, and resize directions.
public RadGalleryPopupElement(RadItemOwnerCollection items, RadItemOwnerCollection groups, RadItemOwnerCollection filters, RadItemOwnerCollection menuItems, SizeF initialSize, SizeF minimumSize, SizingMode dropDownSizingMode)
The gallery items available to the popup.
groupsRadItemOwnerCollectionThe gallery groups displayed in the popup.
filtersRadItemOwnerCollectionThe filters that control which groups are visible.
menuItemsRadItemOwnerCollectionThe tool commands displayed in the popup menu.
initialSizeSizeFThe initial popup size.
minimumSizeSizeFThe minimum size allowed when resizing the popup.
dropDownSizingModeSizingModeThe resize directions enabled by the popup's sizing grip.
Creates popup content from the supplied collections and sizes, using UpDownAndRightBottom by default.
public RadGalleryPopupElement(RadItemOwnerCollection items, RadItemOwnerCollection groups, RadItemOwnerCollection filters, RadItemOwnerCollection menuItems, SizeF initialSize, SizeF minimumSize)
The gallery items available to the popup.
groupsRadItemOwnerCollectionThe gallery groups displayed in the popup.
filtersRadItemOwnerCollectionThe filters that control which groups are visible.
menuItemsRadItemOwnerCollectionThe tool commands displayed in the popup menu.
initialSizeSizeFThe initial popup size.
minimumSizeSizeFThe minimum size allowed when resizing the popup.
Creates popup content from the supplied collections without specifying popup sizing.
public RadGalleryPopupElement(RadItemOwnerCollection items, RadItemOwnerCollection groups, RadItemOwnerCollection filters, RadItemOwnerCollection menuItems)
The gallery items available to the popup.
groupsRadItemOwnerCollectionThe gallery groups displayed in the popup.
filtersRadItemOwnerCollectionThe filters that control which groups are visible.
menuItemsRadItemOwnerCollectionThe tool commands displayed in the popup menu.
Properties
Gets the vertical stack that contains the gallery groups displayed in the popup.
public StackLayoutPanel GroupHolderStackLayout { get; }
Gets an instance of the RadMenuElementclass that represents the element holding the buttons that represent the different filters and groups.
public RadMenuElement MenuElement { get; }
Gets an instance of the RadScrollViewer class that represents the scrollable panel that holds the gallery items when the popup is shown.
public RadScrollViewer ScrollViewer { get; }
Gets or sets the active filter; changing it updates the filter caption and shows only groups included in the filter.
[Browsable(false)]
public RadGalleryGroupFilter SelectedFilter { get; set; }
Gets an instance of the SizeGripElementclass that represents the sizing grip of the dropdown.
public SizeGripElement SizingGrip { get; }
Methods
Places the configured groups in the popup, or creates one uncaptained group when no groups were supplied.
protected void BuildGroup()
Creates the filter button, scrollable group area, tool menu, and sizing grip.
protected override void CreateChildElements()
Overrides:
Removes the popup resize-handler subscriptions from the vertical and diagonal sizing grips.
protected void UnWireEvents()
Subscribes the vertical and diagonal sizing grips to the popup resize handlers.
protected void WireEvents()