RadGallery
Represents a gallery control that displays a collection of items with customizable dimensions and styling.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
public class RadGallery : RadListBox, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo
Inheritance: objectItemsControlSelectorListControlRadListBoxRadGallery
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadGallery class.
public RadGallery()
Fields
ItemHeightProperty
DependencyProperty
Identifies the ItemHeight property.
public static readonly DependencyProperty ItemHeightProperty
ItemWidthProperty
DependencyProperty
Identifies the ItemWidth property.
public static readonly DependencyProperty ItemWidthProperty
ViewportWidthProperty
DependencyProperty
Identifies the ViewportWidth property.
public static readonly DependencyProperty ViewportWidthProperty
Properties
Gets or sets the height of the item.
public double ItemHeight { get; set; }
The height of the item.
Gets or sets the width of the item.
public double ItemWidth { get; set; }
The width of the item.
Gets or sets the width of the viewport.
public double ViewportWidth { get; set; }
The width of the viewport.
Methods
Indicates whether the selection helper can perform operation or not.
GetContainerForItemOverride()
DependencyObject
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()
DependencyObject
The element that is used to display the given item.
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Prepares the container for item override.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
The element.
itemobjectThe item.
Overrides:
Resets the theme.
public void ResetTheme()
Events
Occurs when mouse is over a gallery item.
public event EventHandler<RadRoutedEventArgs> ActivatePreview
Occurs when the mouse leaves the gallery item.
public event EventHandler<RadRoutedEventArgs> DeactivatePreview