New to Telerik UI for WPF? Download free 30-day trial

Events

This article describes the RadTileView and RadTileViewItem events.

RadTileView Events

The RadTileView exposes the following events:

  • TileStateChanged: Raised when the state of the item is changed.

  • PreviewTileStateChanged: Raised before the state of the item is changed. It is cancelable by setting the Handled property of the event arguments to True.

  • PreviewTileDragStarted: Fired before a drag operation has started. It is cancelable by setting the Handled property of the event arguments to True.

  • TileDragStarted: Fired after a drag operation has started.

  • TileDragEnded: Fired after a drag operation has ended.

  • TilePositionChanged: Fired when a tile's position has been changed while reordering the tiles with dragging.

  • PreviewTilePositionChanged: Fired before the position of the item is changed. It is cancelable by setting the Handled property of the event arguments to True.

  • PreviewTilesStateChanged: Raised before the state of any items is changed. It is cancelable by setting the Handled property of the event arguments to True.

  • TilesStateChanged: Raised after the state of all items is changed.

  • TilesPositionChanged: Raised after the position of all items is changed and after all related animations have completed.

  • TilesAnimationCompleted: Raised when the tiles animations have completed. The event handler receives two arguments:

    • The sender argument contains the RadTileView object triggering the tile animations.
    • A TilesAnimationCompletedEventArgs object, which exposes an AnimatedContainers property that gets the collection of the RadTileViewItems that were animated.

Selection Events

The RadTileView control also exposes several selection events. Please note that these events should be used instead of the standard SelectionChanged event.

  • PreviewTileSelectionChanged: This event fires just before the selection state of the tile gets changed. You can use the event to cancel the selection of the tile by setting the Handled property of the event arguments to True.

  • TileSelectionChanged: This event fires just after the selection state of the tile is changed.

  • PreviewTilesSelectionChanged: This event fires just before the selection operation completes. For example, if you select multiple items using the Shift key + Mouse click (in Extended selection mode), the event will get fired only once. You can use the event to cancel the selection of the tile by setting the Handled property of the event arguments to True.

  • TilesSelectionChanged: This event fires just after the selection operation completes. For example, if you select multiple items using the Shift key + Mouse click (in Extended selection mode), the event will get fired only once.

RadTileViewItem Events

The RadTileViewItem exposes the following events:

  • PositionChanged: Fired when a tile's position has been changed while reordering the tiles with dragging.

  • PreviewTileStateChanged: Raised before the state of the item is changed. It is cancelable by setting the Handled property of the event arguments to True.

  • TileStateChanged: Raised when the state of the item is changed.

See Also

In this article