forked from ZeusAutomacao/DFe.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInputBoxWindow.xaml
18 lines (18 loc) · 1.21 KB
/
InputBoxWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Window x:Class="NFe.AppTeste.InputBoxWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore"
Title="" Width="415"
SizeToContent="Height" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
<StackPanel Name="Panel" Orientation="Vertical" VerticalAlignment="Top" Margin="10,10,10,0"
input:FocusManager.FocusedElement="{Binding ElementName=TxtValor}">
<TextBlock x:Name="TxtDescricao" TextWrapping="Wrap" Text="TESTE DE INPUT" Margin="0,0,0,10" />
<TextBox Name="TxtValor" Height="23" TextWrapping="Wrap" Text="TextBox" KeyUp="TxtValor_KeyUp" />
<Grid Name="Grid" Height="46" Margin="0,0,0,0">
<Button x:Name="BtnOk" Content="Ok" HorizontalAlignment="Right" Margin="0,10,95,0" VerticalAlignment="Top"
Width="90" Click="BtnOk_Click" />
<Button x:Name="BtnCancelar" Content="Cancelar" HorizontalAlignment="Right" Margin="284,10,0,0"
VerticalAlignment="Top" Width="90" Click="BtnCancelar_Click" />
</Grid>
</StackPanel>
</Window>