Skip to content

DevExpress-Examples/wpf-create-tile-layout-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Tiles - Create Windows-inspired Tile Layout

This example uses the WPF TileLayoutControl to create a Windows-10 inspired tile layout. The Tile Layout Control is bound to a collection of Agent objects.

WPF Tile Layout Control, DevExpress

The Tile Layout Control displays static and live tiles (tile5). Live tiles change their content in an infinite loop with an animation effect that follows a change in content.

<dxlc:TileLayoutControl Background="{x:Null}" Name="tileLayoutControl1">
    <dxlc:Tile Header="System Information" Name="tile1">
        <Image Name="image1" Stretch="None" Source="Images/System.png" />
    </dxlc:Tile>
    ...
    <dxlc:Tile Name="tile5" Size="Large"
                HorizontalHeaderAlignment="Center" Background="#FF666666"
                ContentSource="{Binding Agents}" ContentChangeInterval="00:00:03" AnimateContentChange="True">
        <dxlc:Tile.ContentTemplate>
            <DataTemplate>
                <Grid>
                    <TextBlock Text="{Binding AgentName}" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
                    <Image Source="{Binding PhotoSource}" Stretch="None" HorizontalAlignment="Right" VerticalAlignment="Top" />
                </Grid>
            </DataTemplate>
        </dxlc:Tile.ContentTemplate>
    </dxlc:Tile>
</dxlc:TileLayoutControl>

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

Contributors 4

  •  
  •  
  •  
  •