Edit

Share via


TileControl Class

Definition

A ContentControl that show an image repeated many times. The control can be synchronized with a ScrollViewer and animated easily.

public class TileControl : Windows.UI.Xaml.Controls.ContentControl
type TileControl = class
    inherit ContentControl
Public Class TileControl
Inherits ContentControl
Inheritance
Windows.UI.Xaml.Controls.ContentControl
TileControl

Constructors

TileControl()

Initializes a new instance of the TileControl class.

Fields

AnimationDurationProperty

Identifies the AnimationDuration property.

AnimationStepXProperty

Identifies the AnimationStepX property.

AnimationStepYProperty

Identifies the AnimationStepY property.

ImageAlignmentProperty

Identifies the ImageAlignment property.

ImageSourceProperty

Identifies the ImageSource property.

IsAnimatedProperty

Identifies the IsAnimated property.

OffsetXProperty

Identifies the OffsetX property.

OffsetYProperty

Identifies the OffsetY property.

ParallaxSpeedRatioProperty

Identifies the ParallaxSpeedRatio property.

ScrollOrientationProperty

Identifies the ScrollOrientation property.

ScrollViewerContainerProperty

Identifies the ScrollViewerContainer property.

Properties

AnimationDuration

Gets or sets a duration for the animation of the tile

AnimationStepX

Gets or sets the animation step of the OffsetX

AnimationStepY

Gets or sets the animation step of the OffsetY

ImageAlignment

Gets or sets the alignment of the tile when the ScrollOrientation is set to Vertical or Horizontal. Valid values are Left or Right for ScrollOrientation set to Horizontal and Top or Bottom for ScrollOrientation set to Vertical.

ImageSource

Gets or sets the uri of the image to load

IsAnimated

Gets or sets a value indicating whether the tile is animated or not

IsCompositionSupported
Obsolete.

Gets a value indicating whether the platform supports Composition.

OffsetX

Gets or sets an X offset of the image

OffsetY

Gets or sets an Y offset of the image

ParallaxSpeedRatio

Gets or sets the speed ratio of the parallax effect with the ScrollViewerContainer

ScrollOrientation

Gets or sets the scroll orientation of the tile. Less images are drawn when you choose the Horizontal or Vertical value.

ScrollViewerContainer

Gets or sets a ScrollViewer or a frameworkElement containing a ScrollViewer. The tile control is synchronized with the offset of the scrollViewer

Methods

OnApplyTemplate() Windows.UI.Xaml.Controls.ContentControl.OnApplyTemplate

Events

ImageLoaded

The image loaded event.

Applies to