Class RadGalleryItem
Represents a ribbon RadGalleryItem.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView.dll
Syntax
[TelerikToolboxCategory("Navigation")]
public class RadGalleryItem : RadListBoxItem, ISelectorItem
Constructors
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
System.Windows.DependencyProperty
|
IsHeaderProperty
Identifies the IsHeader property.
Declaration
public static readonly DependencyProperty IsHeaderProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Image
Get/Set the SmallImage that is shown in Medium and Small button state.
Declaration
public ImageSource Image { get; set; }
Property Value
System.Windows.Media.ImageSource
|
IsHeader
Get/Set the IsHeader that shows is item marked for header.
Declaration
public bool IsHeader { get; set; }
Property Value
System.Boolean
|
Methods
ChangeVisualState(Boolean)
Changes the visual state of the control using transitions.
Declaration
protected override void ChangeVisualState(bool useTransitions)
Parameters
System.Boolean
useTransitions
|
Overrides
OnActivatePreview(RadRoutedEventArgs)
Raises the ActivatePreview event.
Declaration
protected virtual bool OnActivatePreview(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
Returns
System.Boolean
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Creates a GalleryItemAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
A new instance of the GalleryItemAutomationPeer. |
Overrides
OnDeactivatePreview(RadRoutedEventArgs)
Raises the DeActivatePreview event.
Declaration
protected virtual bool OnDeactivatePreview(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The RadRoutedEventArgs instance containing the event data. |
Returns
System.Boolean
|
OnMouseEnter(MouseEventArgs)
Called before the System.Windows.UIElement.MouseEnter event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
Overrides
OnMouseLeave(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.OnMouseLeftButtonUp 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
System.Windows.Input.MouseButtonEventArgs
e
|
Overrides
Events
ActivatePreview
Occurs on mouse enter.
Declaration
public event EventHandler<RadRoutedEventArgs> ActivatePreview
Event Type
System.EventHandler<RadRoutedEventArgs>
|
DeactivatePreview
Occurs on mouse leave.
Declaration
public event EventHandler<RadRoutedEventArgs> DeactivatePreview
Event Type
System.EventHandler<RadRoutedEventArgs>
|