Edit Username, New Chat Dialog
This commit is contained in:
21
PolyChat/Views/EditUsernameDialog.xaml
Normal file
21
PolyChat/Views/EditUsernameDialog.xaml
Normal file
@@ -0,0 +1,21 @@
|
||||
<ContentDialog x:Class="PolyChat.Views.EditUsernameDialog"
|
||||
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:local="using:PolyChat.Views"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
x:Name="ContentDialog"
|
||||
Title="Change Username"
|
||||
PrimaryButtonText="Save"
|
||||
SecondaryButtonText="Cancel"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="16"/>
|
||||
</Grid.RowDefinitions>
|
||||
<TextBox x:Name="input" KeyUp="OnKeyUp" PlaceholderText="Marco Sattler"/>
|
||||
<TextBlock Grid.Row="1" x:Name="textError" Text="Username cannot be empty" VerticalAlignment="Center" Foreground="{ThemeResource SystemErrorTextColor}"/>
|
||||
</Grid>
|
||||
</ContentDialog>
|
||||
Reference in New Issue
Block a user