wpf-devexpress-dot-xpf-dot-layoutcontrol-72b96727.md
A tile in a TileLayoutControl.
Namespace : DevExpress.Xpf.LayoutControl
Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll
NuGet Package : DevExpress.Wpf.LayoutControl
[DXLicenseWpf]
public class Tile :
MaximizableHeaderedContentControlBase,
ITile,
IMaximizableElement,
IClickable,
IWeakEventListener
<DXLicenseWpf>
Public Class Tile
Inherits MaximizableHeaderedContentControlBase
Implements ITile,
IMaximizableElement,
IClickable,
IWeakEventListener
The following members return Tile objects:
Tiles are interactive items in a TileLayoutControl. They can display any content and can be of four predefined sizes:
A tile consists of the following elements:
Header
Content
Border
To associate an action with a tile, define a command using the Tile.Command property or handle the Tile.Click event. The TileLayoutControl provides the TileLayoutControl.TileClick event, allowing you to perform required tile actions in one place.
This example shows how to define varying content using the Tile.ContentSource property. The content change interval is set to 1 second. The Tile.AnimateContentChange option is enabled to play an animation each time the tile’s content changes.
The animation below shows the result:
<dxlc:TileLayoutControl Background="White" Name="tileLayoutControl1">
<dxlc:Tile Name="tile1" Size="Small" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
AnimateContentChange="True" ContentChangeInterval="00:00:01">
<dxlc:Tile.ContentSource>
<dx:FrameworkElements>
<Image Source="Images/Research.png" Stretch="None" />
<Image Source="Images/System.png" Stretch="None" />
<Image Source="Images/Statistics.png" Stretch="None" />
</dx:FrameworkElements>
</dxlc:Tile.ContentSource>
</dxlc:Tile>
</dxlc:TileLayoutControl>
Show 12 items
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control DevExpress.Xpf.Core.ControlBase DevExpress.Xpf.Core.ContentControlBase DevExpress.Xpf.Core.HeaderedContentControlBase DevExpress.Xpf.LayoutControl.MaximizableHeaderedContentControlBase Tile
See Also