<Controls:MetroWindow 
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"		
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" 
Title="Chapitre 11 - Tile" 
Width="350" Height="300" ResizeMode="NoResize"
BorderBrush="RoyalBlue" BorderThickness="1">

<Window.Resources>
	<ResourceDictionary>
		<ResourceDictionary.MergedDictionaries>
			<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
			<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
			<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
			<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Cobalt.xaml"/>
			<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml"/>
		</ResourceDictionary.MergedDictionaries>
	</ResourceDictionary>
</Window.Resources>

<Controls:MetroWindow.LeftWindowCommands>
	<Controls:WindowCommands>
	   <Button x:Name="MonBouton">
			<iconPacks:PackIconMaterial Kind="Monitor"/>
		</Button>	
	</Controls:WindowCommands>	
</Controls:MetroWindow.LeftWindowCommands>		


<Controls:MetroWindow.RightWindowCommands>
	<Controls:WindowCommands>
	   <Button x:Name="MonBouton2">
			<iconPacks:PackIconMaterial Kind="Settings"/>
		</Button>	
	</Controls:WindowCommands>	
</Controls:MetroWindow.RightWindowCommands>	


<Grid>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">

<!-- Basique -->
<StackPanel Orientation="Horizontal">
<Controls:Tile
Background="#00a300"
Title="Bureau"
Name="Bureau"
TitleFontSize="14"
Margin="3"
Height="125" Width="147">
<iconPacks:PackIconMaterial Width="60" Height="60" Kind="Monitor"/>
</Controls:Tile>

<Controls:Tile
Background="#2d89ef"
Title="Twitter"
Name="Twitter"
TitleFontSize="14"
Margin="3"
Height="125" Width="147">
<iconPacks:PackIconMaterial Width="60" Height="60" Kind="Twitter"/>
</Controls:Tile>
</StackPanel>


<Controls:Tile
Title="Mes images"
Name="Images"
TitleFontSize="14"
Height="125" Width="300">
<Controls:Tile.Background>
  <ImageBrush ImageSource="Images/image1.jpg"/>
</Controls:Tile.Background>
</Controls:Tile>



</StackPanel>
</Grid>
</Controls:MetroWindow>        


   
   
    
    
    
