Class RadGallery
Represents a ribbon RadGallery.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class RadGallery : RadListBox, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, ISupportInitialize, IListControl, ICommandSource, IScrollingServiceCore, IScrollingInfo
Constructors
RadGallery()
Fields
ItemHeightProperty
Identifies the ItemHeight property.
Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
System.Windows.DependencyProperty
|
ItemWidthProperty
Identifies the ItemWidth property.
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
System.Windows.DependencyProperty
|
ViewportHeightProperty
Identifies the ViewportHeight property.
Declaration
public static readonly DependencyProperty ViewportHeightProperty
Field Value
System.Windows.DependencyProperty
|
ViewportWidthProperty
Identifies the ViewportWidth property.
Declaration
public static readonly DependencyProperty ViewportWidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ItemHeight
Gets or sets the height of the item.
Declaration
public double ItemHeight { get; set; }
Property Value
System.Double
The height of the item. |
ItemWidth
Gets or sets the width of the item.
Declaration
public double ItemWidth { get; set; }
Property Value
System.Double
The width of the item. |
ViewportHeight
Gets or sets the height of the viewport.
Declaration
public double ViewportHeight { get; set; }
Property Value
System.Double
The height of the viewport. |
ViewportWidth
Gets or sets the width of the viewport.
Declaration
public double ViewportWidth { get; set; }
Property Value
System.Double
The width of the viewport. |
Methods
CanPerformSelection()
Indicates whether the selection helper can perform operation or not.
Declaration
protected override bool CanPerformSelection()
Returns
System.Boolean
|
Overrides
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject
The element that is used to display the given item. |
Overrides
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own container.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object
item
The item to check. |
Returns
System.Boolean
True if the item is (or is eligible to be) its own container; otherwise, false. |
Overrides
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
Overrides
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the container for item override.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
The element. |
System.Object
item
The item. |
Overrides
Events
ActivatePreview
Occurs when mouse is over a gallery item.
Declaration
public event EventHandler<RadRoutedEventArgs> ActivatePreview
Event Type
System.EventHandler<RadRoutedEventArgs>
|
DeactivatePreview
Occurs when the mouse leaves the gallery item.
Declaration
public event EventHandler<RadRoutedEventArgs> DeactivatePreview
Event Type
System.EventHandler<RadRoutedEventArgs>
|