Class RadGalleryElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadGalleryElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IDropDownMenuOwner, IItemsOwner
Constructors
RadGalleryElement()
Declaration
public RadGalleryElement()
Fields
IsSelectedProperty
MaxColumnsProperty
MaxDropDownColumnsProperty
MaxRowsProperty
MinDropDownColumnsProperty
Properties
DownButton
Gets tne RadImageButtonElement that represents the down button in the gallery element.
Declaration
public RadImageButtonElement DownButton { get; }
Property Value
RadImageButtonElement
|
DropDownInheritsThemeClassName
Gets or sets value indicating whether DropDownMenu will have the same class name as the owner control or its own. True means that the same class name will be used as the control that opened the dropdown.
Declaration
public bool DropDownInheritsThemeClassName { get; set; }
Property Value
System.Boolean
|
Implements
DropDownSizingMode
FilterEnabled
Gets or sets a value indicating whether group filtering is enbled when filters are defined.
Declaration
public bool FilterEnabled { get; set; }
Property Value
System.Boolean
|
Filters
Gets a collection representing the group filters defined in this gallery.
Declaration
public RadItemOwnerCollection Filters { get; }
Property Value
RadItemOwnerCollection
|
GalleryDropDown
Gets an instance of the RadGalleryDropDownclass that represents the popup control which hosts the RadGalleryPopupElement displayed to the user when he/she clicks on the drop-down button of the gallery.
Declaration
public RadGalleryDropDown GalleryDropDown { get; }
Property Value
RadGalleryDropDown
|
GalleryPopupElement
Gets an instance of the RadGalleryPopupElementclass that represents the main element put in the RadGalleryDropDown when it is shown to the user. This element holds the content of the gallery, as well as some additional elements like sizing grip etc.
Declaration
public RadGalleryPopupElement GalleryPopupElement { get; }
Property Value
RadGalleryPopupElement
|
Groups
Gets a collection representing the groups contained in this gallery.
Declaration
public RadItemOwnerCollection Groups { get; }
Property Value
RadItemOwnerCollection
|
InRibbonBorder
Gets the BorderPrimitiveinstance that represents the Gallery Element's border.
Declaration
public BorderPrimitive InRibbonBorder { get; }
Property Value
BorderPrimitive
|
InRibbonFill
Gets the FillPrimitiveinstance that represents the Gallery Element's fill.
Declaration
public FillPrimitive InRibbonFill { get; }
Property Value
FillPrimitive
|
IsDroppedDown
Returns whether the gallery is currently dropped down.
Declaration
public bool IsDroppedDown { get; }
Property Value
System.Boolean
|
Items
Gets a collection representing the items contained in this gallery.
Declaration
[RadNewItem("", false)]
public RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection
|
Implements
ItemSelection
Gets or sets a value indicating whether the selection of the gallery items is enabled or not.
Declaration
public bool ItemSelection { get; set; }
Property Value
System.Boolean
|
MaxColumns
Gets or sets the maximum number of columns to be shown in the in-ribbon portion of the gallery.
Declaration
[RadPropertyDefaultValue("MaxColumns", typeof(RadGalleryElement))]
public int MaxColumns { get; set; }
Property Value
System.Int32
|
MaxDropDownColumns
Gets or sets the maximum number of columns to be shown in the drop-down portion of the gallery.
Declaration
[RadPropertyDefaultValue("MaxDropDownColumns", typeof(RadGalleryElement))]
public int MaxDropDownColumns { get; set; }
Property Value
System.Int32
|
MaxRows
Gets or sets the maximum number of rows to be shown in the in-ribbon portion of the gallery.
Declaration
[RadPropertyDefaultValue("MaxRows", typeof(RadGalleryElement))]
public int MaxRows { get; set; }
Property Value
System.Int32
|
MinDropDownColumns
Gets or sets the minimum number of columns to be shown in the drop-down portion of the gallery.
Declaration
[RadPropertyDefaultValue("MaxDropDownColumns", typeof(RadGalleryElement))]
public int MinDropDownColumns { get; set; }
Property Value
System.Int32
|
PopupButton
Gets tne RadImageButtonElement that represents the show popup button in the gallery element.
Declaration
public RadImageButtonElement PopupButton { get; }
Property Value
RadImageButtonElement
|
SelectedItem
Gets or sets the currently selected item.
Declaration
public RadGalleryItem SelectedItem { get; set; }
Property Value
RadGalleryItem
|
Tools
Gets the Tools menu items collection where you can add and remove items from the Tools part of the gallery
Declaration
[RadEditItemsAction]
public RadItemOwnerCollection Tools { get; }
Property Value
RadItemOwnerCollection
|
UpButton
Gets tne RadImageButtonElement that represents the up button in the gallery element.
Declaration
public RadImageButtonElement UpButton { get; }
Property Value
RadImageButtonElement
|
ZoomItems
Gets or sets a value indicating whether a gallery item is zoomed-in when mouse over it.
Declaration
public bool ZoomItems { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CloseDropDown()
Declaration
public void CloseDropDown()
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
OnBitStateChanged(Int64, Boolean, Boolean)
Declaration
protected override void OnBitStateChanged(long key, bool oldValue, bool newValue)
Parameters
System.Int64
key
|
System.Boolean
oldValue
|
System.Boolean
newValue
|
Overrides
OnDropDownClosed(RadPopupClosedEventArgs)
Raises the DropDownClosed event.
Declaration
protected virtual void OnDropDownClosed(RadPopupClosedEventArgs e)
Parameters
RadPopupClosedEventArgs
e
|
OnDropDownClosing(RadPopupClosingEventArgs)
Raises the DropDownClosing event.
Declaration
protected virtual void OnDropDownClosing(RadPopupClosingEventArgs e)
Parameters
RadPopupClosingEventArgs
e
|
OnDropDownOpened(EventArgs)
Raises the DropDownOpened event.
Declaration
protected virtual void OnDropDownOpened(EventArgs e)
Parameters
System.EventArgs
e
|
OnDropDownOpening(CancelEventArgs)
Raises the DropDownOpening event.
Declaration
protected virtual void OnDropDownOpening(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
|
OnGalleryItemHover(GalleryItemHoverEventArgs)
Raises the GalleryItemHover event.
Declaration
protected virtual void OnGalleryItemHover(GalleryItemHoverEventArgs e)
Parameters
GalleryItemHoverEventArgs
e
|
OnMouseWheel(MouseEventArgs)
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnTunnelEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnTunnelEvent(RadElement sender, RoutedEventArgs args)
Parameters
RadElement
sender
|
RoutedEventArgs
args
|
Overrides
ScrollLineDown()
Declaration
public void ScrollLineDown()
ScrollLineUp()
Declaration
public void ScrollLineUp()
ShowDropDown()
Declaration
public void ShowDropDown()
Events
DropDownClosed
Occurs when the drop-down window has closed.
Declaration
public event RadPopupClosedEventHandler DropDownClosed
Event Type
RadPopupClosedEventHandler
|
DropDownClosing
Occurs when the drop-down is about to be closed.
Declaration
public event RadPopupClosingEventHandler DropDownClosing
Event Type
RadPopupClosingEventHandler
|
DropDownOpened
Occurs when the drop-down has opened.
Declaration
public event EventHandler DropDownOpened
Event Type
System.EventHandler
|
DropDownOpening
Occurs when the drop-down is opening.
Declaration
public event CancelEventHandler DropDownOpening
Event Type
System.ComponentModel.CancelEventHandler
|
GalleryItemHover
Occurs when the mouse pointer rests on the gallery item.
Declaration
public event GalleryItemHoverEventHandler GalleryItemHover
Event Type
GalleryItemHoverEventHandler
|
Explicit Interface Implementations
IDropDownMenuOwner.ControlDefinesThemeForElement(RadElement)
Declaration
bool IDropDownMenuOwner.ControlDefinesThemeForElement(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|