ClassRadGallery
Represents a ribbon RadGallery.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadGallery : ListBox
Inheritance: objectRadGallery
Derived Classes:
Constructors
RadGallery()
Initializes a new instance of the RadGallery class.
Declaration
public RadGallery()
Fields
ItemHeightProperty
Identifies the ItemHeight property.
Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
DependencyProperty
ItemWidthProperty
Identifies the ItemWidth property.
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
DependencyProperty
ViewportWidthProperty
Identifies the ViewportWidth property.
Declaration
public static readonly DependencyProperty ViewportWidthProperty
Field Value
DependencyProperty
Properties
ItemHeight
Gets or sets the height of the item.
Declaration
public double ItemHeight { get; set; }
Property Value
The height of the item.
ItemWidth
Gets or sets the width of the item.
Declaration
public double ItemWidth { get; set; }
Property Value
The width of the item.
ViewportWidth
Gets or sets the width of the viewport.
Declaration
public double ViewportWidth { get; set; }
Property Value
The width of the viewport.
Methods
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
DependencyObject
The element that is used to display the given item.
IsItemItsOwnContainerOverride(object)
Determines if the specified item is (or is eligible to be) its own container.
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the container for item override.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
The element.
item
The item.
Events
ActivatePreview
Occurs when mouse is over a gallery item.
Declaration
public event EventHandler<RadRoutedEventArgs> ActivatePreview
Event Value
DeactivatePreview
Occurs when the mouse leaves the gallery item.
Declaration
public event EventHandler<RadRoutedEventArgs> DeactivatePreview
Event Value