Class
RadGalleryItem

Represents a ribbon RadGalleryItem.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadGalleryItem : ListBoxItem

Inheritance: objectRadGalleryItem

Constructors

RadGalleryItem()

Initializes a new instance of the RadGalleryItem class.

Declaration

cs-api-definition
public RadGalleryItem()

Fields

ActivatePreviewEvent

Identifies the ActivatePreviewEvent routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent ActivatePreviewEvent

Field Value

RoutedEvent

DeactivatePreviewEvent

Identifies the DeActivatePreviewEvent routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent DeactivatePreviewEvent

Field Value

RoutedEvent

IconProperty

Identifies the Icon property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

IsHeaderProperty

Identifies the IsHeader property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsHeaderProperty

Field Value

DependencyProperty

Properties

Icon

Get/Set the SmallIcon that is shown in Medium and Small button state.

Declaration

cs-api-definition
public IconElement Icon { get; set; }

Property Value

IconElement

IsHeader

Get/Set the IsHeader that shows is item marked for header.

Declaration

cs-api-definition
public bool IsHeader { get; set; }

Property Value

bool

Methods

GoToState(bool, params string[])

Updates the visual state.

Declaration

cs-api-definition
protected void GoToState(bool useTransitions, params string[] stateNames)

Parameters

useTransitions

bool

stateNames

string[]

OnActivatePreview(RadRoutedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual bool OnActivatePreview(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

The RadRoutedEventArgs instance containing the event data.

Returns

bool

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
protected override void OnApplyTemplate()

OnCreateAutomationPeer()

Creates a GalleryItemAutomationPeer.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

A new instance of the GalleryItemAutomationPeer.

OnDeactivatePreview(RadRoutedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual bool OnDeactivatePreview(RadRoutedEventArgs e)

Parameters

e

RadRoutedEventArgs

The RadRoutedEventArgs instance containing the event data.

Returns

bool

OnKeyDown(KeyRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnKeyDown(KeyRoutedEventArgs e)

Parameters

e

KeyRoutedEventArgs

OnPointerEntered(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerEntered(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerExited(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerExited(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerPressed(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerPressed(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

OnPointerReleased(PointerRoutedEventArgs)

Declaration

cs-api-definition
protected override void OnPointerReleased(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

Events

ActivatePreview

Occurs on mouse enter.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEventArgs> ActivatePreview

Event Value

EventHandler<RadRoutedEventArgs>

DeactivatePreview

Occurs on mouse leave.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEventArgs> DeactivatePreview

Event Value

EventHandler<RadRoutedEventArgs>