# HG changeset patch # User PAMPHILE Jonathan # Date 1253045676 -7200 # Node ID 99813224e9482a59e117a706f5033794bbcf9c88 # Parent cbe5b01679a36785c38652919c11fa02797eaac1 TestMenu diff -r cbe5b01679a3 -r 99813224e948 src/FingersDance.Control.Menu/UserControlMenu.xaml --- a/src/FingersDance.Control.Menu/UserControlMenu.xaml Tue Sep 15 21:19:51 2009 +0200 +++ b/src/FingersDance.Control.Menu/UserControlMenu.xaml Tue Sep 15 22:14:36 2009 +0200 @@ -3,11 +3,471 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:Custom="http://schemas.microsoft.com/surface/2008" mc:Ignorable="d" x:Class="FingersDance.Control.Menu.UserControlMenu" x:Name="UserControl" - Width="245" Height="Auto" xmlns:Custom="http://schemas.microsoft.com/surface/2008"> + Width="245" Height="Auto" xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r cbe5b01679a3 -r 99813224e948 src/FingersDance.Control.Menu/UserControlMenu.xaml.cs --- a/src/FingersDance.Control.Menu/UserControlMenu.xaml.cs Tue Sep 15 21:19:51 2009 +0200 +++ b/src/FingersDance.Control.Menu/UserControlMenu.xaml.cs Tue Sep 15 22:14:36 2009 +0200 @@ -76,6 +76,8 @@ else { ItemButton.Action = item.Action; + ItemButton.Style = (Style)FindResource("FingersDanceAnnotationButtonNiveau4"); + //ItemButton.ApplyTemplate(); //ItemButton.ContactDown += GenerateAction; //ItemButton.Click += GenerateAction; MItem.Children.Add(ItemButton);