Class
RadPictureRotatorHubTile

Defines a hub tile that simulates the pictures tile on WP OS's start screen.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadPictureRotatorHubTile : PictureHubTile, IWeakEventListener

Inheritance: objectRadControlHubTileBasePictureHubTileRadPictureRotatorHubTile

Implements: IWeakEventListener

Inherited Members PictureHubTile.PicturesSourcePropertyPictureHubTile.PictureSourceProviderPropertyPictureHubTile.Finalize()PictureHubTile.GetRandomImageSource()PictureHubTile.PictureSourceProviderPictureHubTile.PicturesSourcePictureHubTile.IsUpdateTimerNeededHubTileBase.TitlePropertyHubTileBase.TitleTemplatePropertyHubTileBase.UpdateIntervalPropertyHubTileBase.IsFrozenPropertyHubTileBase.BackContentPropertyHubTileBase.BackContentTemplatePropertyHubTileBase.CommandPropertyHubTileBase.IsFlippedPropertyHubTileBase.CommandParameterPropertyHubTileBase.OnPointerEntered(PointerRoutedEventArgs)HubTileBase.OnPointerExited(PointerRoutedEventArgs)HubTileBase.ComposeVisualStateName()HubTileBase.UpdateIsFlipped(bool)HubTileBase.OnTapped(TappedRoutedEventArgs)HubTileBase.UnloadCore()HubTileBase.ResetTimer()HubTileBase.OnBackContentChanged(object, object)HubTileBase.OnBackStateActivated()HubTileBase.OnBackStateDeactivated()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

RadPictureRotatorHubTile()

Initializes a new instance of the RadPictureRotatorHubTile class.

Declaration

cs-api-definition
public RadPictureRotatorHubTile()

Properties

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()

GetNewIndex(int)

Should be overridden in descendant classes to generate the new index from the picture collection.

Declaration

cs-api-definition
protected override int GetNewIndex(int count)

Parameters

count

int

The length of the collection.

Returns

int

Returns new index different from previous.

Overrides PictureHubTile.GetNewIndex(int)

IsNewIndexValid(int)

Should be overridden in descendant classes to indicate if the same image can be displayed many times in a row.

Declaration

cs-api-definition
protected override bool IsNewIndexValid(int index)

Parameters

index

int

The index of the new image.

Returns

bool

Returns true if the image can be repeated and false otherwise.

Overrides PictureHubTile.IsNewIndexValid(int)

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()

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)