ClassRadGalleryItem
Represents an item in a RadGallery control, which can display an image and optionally act as a header.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.RibbonView.dll
Syntax:
[TelerikToolboxCategory("Navigation")]
public class RadGalleryItem : RadListBoxItem, ISelectorItem
Inheritance: objectListItemRadListBoxItemRadGalleryItem
Implements:
Inherited Members
Constructors
RadGalleryItem()
Initializes a new instance of the RadGalleryItem class.
Declaration
public RadGalleryItem()
Fields
ActivatePreviewEvent
Identifies the ActivatePreviewEvent routed event.
Declaration
public static readonly RoutedEvent ActivatePreviewEvent
Field Value
RoutedEvent
DeactivatePreviewEvent
Identifies the DeActivatePreviewEvent routed event.
Declaration
public static readonly RoutedEvent DeactivatePreviewEvent
Field Value
RoutedEvent
ImageProperty
Identifies the Image property.
Declaration
public static readonly DependencyProperty ImageProperty
Field Value
DependencyProperty
IsHeaderProperty
Identifies the IsHeader property.
Declaration
public static readonly DependencyProperty IsHeaderProperty
Field Value
DependencyProperty
Properties
Image
Get/Set the SmallImage that is shown in Medium and Small button state.
Declaration
public ImageSource Image { get; set; }
Property Value
ImageSource
Methods
ChangeVisualState(bool)
Changes the visual state of the control using transitions.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
useTransitions
Overrides
OnActivatePreview(RadRoutedEventArgs)
Raises the event.
Declaration
protected virtual bool OnActivatePreview(RadRoutedEventArgs e)
Parameters
e
The RadRoutedEventArgs instance containing the event data.
Returns
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
public override void OnApplyTemplate()
Overrides
OnDeactivatePreview(RadRoutedEventArgs)
Raises the event.
Declaration
protected virtual bool OnDeactivatePreview(RadRoutedEventArgs e)
Parameters
e
The RadRoutedEventArgs instance containing the event data.
Returns
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
OnMouseEnter(MouseEventArgs)
Called before the event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
The data for the event.
Overrides
OnMouseLeave(MouseEventArgs)
Called before the event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
The data for the event.
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled routed event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
Overrides
Events
ActivatePreview
Occurs on mouse enter.
Declaration
public event EventHandler<RadRoutedEventArgs> ActivatePreview
Event Value
DeactivatePreview
Occurs on mouse leave.
Declaration
public event EventHandler<RadRoutedEventArgs> DeactivatePreview
Event Value