Class
RadCycleHubTile

RadCycleHubTile can be bound a data source. Each item from the data source is displayed with a slide animation either randomly or in order as well as horizontally or vertically.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadCycleHubTile : HubTileBase, IWeakEventListener

Inheritance: objectRadControlHubTileBaseRadCycleHubTile

Implements: IWeakEventListener

Inherited Members HubTileBase.TitlePropertyHubTileBase.TitleTemplatePropertyHubTileBase.UpdateIntervalPropertyHubTileBase.IsFrozenPropertyHubTileBase.BackContentPropertyHubTileBase.BackContentTemplatePropertyHubTileBase.CommandPropertyHubTileBase.IsFlippedPropertyHubTileBase.CommandParameterPropertyHubTileBase.Finalize()HubTileBase.OnPointerEntered(PointerRoutedEventArgs)HubTileBase.OnPointerExited(PointerRoutedEventArgs)HubTileBase.ComposeVisualStateName()HubTileBase.UpdateIsFlipped(bool)HubTileBase.OnTapped(TappedRoutedEventArgs)HubTileBase.UnloadCore()HubTileBase.ResetTimer()HubTileBase.OnBackContentChanged(object, object)HubTileBase.OnIsFlippedChanged(bool, bool)HubTileBase.UpdateTimerState()HubTileBase.IsFlippedHubTileBase.CommandHubTileBase.CommandParameterHubTileBase.TitleHubTileBase.TitleTemplateHubTileBase.IsFrozenHubTileBase.UpdateIntervalHubTileBase.BackContentHubTileBase.BackContentTemplateHubTileBase.IsPointerOverHubTileBase.LayoutRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnLoaded()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

RadCycleHubTile()

Initializes a new instance of the RadCycleHubTile class.

Declaration

cs-api-definition
public RadCycleHubTile()

Fields

CycleRandomlyProperty

Identifies the CycleRandomly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CycleRandomlyProperty

Field Value

DependencyProperty

FlipUpdateIntervalsCountProperty

Identifies the FlipUpdateIntervalsCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FlipUpdateIntervalsCountProperty

Field Value

DependencyProperty

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

CycleRandomly

Gets or sets a value indicating whether the items in the data source will be cycled randomly or not.

Declaration

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

Property Value

bool

FlipUpdateIntervalsCount

Gets or sets a value that specifies how many update intervals have to pass before the tile flips.

Declaration

cs-api-definition
public int FlipUpdateIntervalsCount { get; set; }

Property Value

int

IsUpdateTimerNeeded

Determines whether the update timer used to update the tile's VisualState needs to be started.

Declaration

cs-api-definition
protected override bool IsUpdateTimerNeeded { get; }

Property Value

bool

Overrides HubTileBase.IsUpdateTimerNeeded

ItemTemplate

Gets or sets the item template of the cycle tile.

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

ItemsSource

Gets or sets the data source of the cycle tile.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

Orientation

Gets or sets the orientation of the cycle animation.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

ShouldClip

Gets a value indicating whether a rectangle clip is set on the LayoutRoot.

Declaration

cs-api-definition
protected override bool ShouldClip { get; }

Property Value

bool

Overrides HubTileBase.ShouldClip

Methods

ApplyTemplateCore()

Retrieves the ControlTemplate parts.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides HubTileBase.ApplyTemplateCore()

LoadCore()

Called within the handler of the event. Allows inheritors to provide their specific logic.

Declaration

cs-api-definition
protected override void LoadCore()

Overrides HubTileBase.LoadCore()

OnBackStateActivated()

This callback is invoked when BackContent is set to a non-null value.

Declaration

cs-api-definition
protected override void OnBackStateActivated()

Overrides HubTileBase.OnBackStateActivated()

OnBackStateDeactivated()

This callback is invoked when BackContent is set to a null value.

Declaration

cs-api-definition
protected override void OnBackStateDeactivated()

Overrides HubTileBase.OnBackStateDeactivated()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides HubTileBase.OnCreateAutomationPeer()

OnTemplateApplied()

Occurs when the method has been called and the template is already successfully applied.

Declaration

cs-api-definition
protected override void OnTemplateApplied()

Overrides HubTileBase.OnTemplateApplied()

Update(bool, bool)

A virtual callback that is called periodically when the tile is no frozen. It can be used to update the tile visual states or other necessary operations.

Declaration

cs-api-definition
protected override void Update(bool animate, bool updateIsFlipped)

Parameters

animate

bool

updateIsFlipped

bool

Overrides HubTileBase.Update(bool, bool)