diff options
author | marcinzelent <marcin@zelent.net> | 2017-06-04 18:53:55 +0200 |
---|---|---|
committer | marcinzelent <marcin@zelent.net> | 2017-06-04 18:53:55 +0200 |
commit | 543ea9e1af3af5642acd1f4b31f8bffb85ce2e0f (patch) | |
tree | d3e6cc6a97c4833ee495bcab18ac5738179f7355 | |
parent | 37a52792914cd9778df623b368ed6522badf9f91 (diff) |
Made username property read only.
-rw-r--r-- | ApartmentManager/ApartmentManager/View/Board member pages/BmUsersPage.xaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ApartmentManager/ApartmentManager/View/Board member pages/BmUsersPage.xaml b/ApartmentManager/ApartmentManager/View/Board member pages/BmUsersPage.xaml index 77c60f7..f5b5f3e 100644 --- a/ApartmentManager/ApartmentManager/View/Board member pages/BmUsersPage.xaml +++ b/ApartmentManager/ApartmentManager/View/Board member pages/BmUsersPage.xaml @@ -128,7 +128,7 @@ Command="{Binding UploadUserPhotoCommand}" Content="Upload Picture" /> <TextBlock Margin="0,5,0,1" Text="Username" /> - <TextBox Text="{Binding UserTemplate.Username, Mode=TwoWay}" /> + <TextBox IsReadOnly="True" Text="{Binding UserTemplate.Username, Mode=TwoWay}" /> <TextBlock Margin="0,5,0,1" Text="Password" /> <PasswordBox Password="{Binding UserTemplate.Password, Mode=TwoWay}" /> <StackPanel Margin="0,10,0,0" Orientation="Horizontal"> |