Class RadGallery
Represents a ribbon RadGallery.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
public class RadGallery : RadListBox, IMultiSelector, ISelector, ISelectorInteraction, IAutocomplete, 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
[Obsolete("This property will be removed, use the Height property instead.", false)]
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
[Obsolete("This property will be removed, use the Height property instead.", false)]
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
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
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
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
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>
|