Début de création de la userControl de style et ajout de styles
continuous-integration/drone/push Build is passing Details

Navigator
Raphael LACOTE 2 years ago
parent c69fe4a929
commit 7708c9327a

@ -72,6 +72,19 @@
<Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/>
</Style> </Style>
<Style TargetType="TextBlock" x:Key="TitreDePage">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="Background" Value="Brown" />
</Style>
<Style TargetType="TextBlock" x:Key="AffichageAuMilieu">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Background" Value="Brown" />
</Style>
<Style x:Key="OrangeButtonRessource" TargetType="Button"> <Style x:Key="OrangeButtonRessource" TargetType="Button">
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>

@ -5,8 +5,18 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:IHM" xmlns:local="clr-namespace:IHM"
mc:Ignorable="d" mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"> d:DesignHeight="350" d:DesignWidth="600"
<Grid> Style="{StaticResource ImageFondRessource}">
</Grid> <DockPanel>
<Border Style="{StaticResource BorderRessource}" Height="33" DockPanel.Dock="Top">
<TextBlock Text="Nom d'utilisateur" Style="{StaticResource TitreDePage}"/>
<!--<TextBlock Text="Compte courant" Style="{StaticResource AffichageAuMilieu}"/>-->
</Border>
<Button Margin="20" DockPanel.Dock="Bottom" Style="{StaticResource GreenButtonRessource}">
<TextBlock Text="Modifier votre solde"/>
</Button>
</DockPanel>
</UserControl> </UserControl>

Loading…
Cancel
Save