1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
<UserControl x:Class="xxxx.xxx.xxx"
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400"
DataContext="{Binding Source={StaticResource serviceLocator}, Path=LoginViewModel}">
....
<PasswordBox x:Name="pwbMdp" Grid.Row="4" Margin="0,0,0,10" Password="{Binding Path=Utilisateur.MdpUtilisateur, Mode=TwoWay}"/>
<Button x:Name="btnValiderConnexion" Grid.Row="5" Content="Ok" Command="{Binding ValiderRelayCommand}"/> |
Partager