init
This commit is contained in:
16
Common/DTS.Common/Controls/TestIDTestBox.xaml
Normal file
16
Common/DTS.Common/Controls/TestIDTestBox.xaml
Normal file
@@ -0,0 +1,16 @@
|
||||
<UserControl x:Class="DTS.Common.Controls.TestIDTextBox"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:DTS.Common.Controls"
|
||||
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="50" d:DesignWidth="300"
|
||||
FocusManager.IsFocusScope="True" x:Name="TestIdTextBoxControl">
|
||||
<UserControl.Resources>
|
||||
<sys:Int32 x:Key="TESTID_LENGTH_MAX">50</sys:Int32>
|
||||
</UserControl.Resources>
|
||||
<TextBox x:Name="tbTestId" Text="{Binding ElementName=TestIdTextBoxControl, Path=Text, UpdateSourceTrigger=PropertyChanged}" BorderThickness="1,1,1,1" VerticalContentAlignment="Center" MaxLength="{StaticResource TESTID_LENGTH_MAX}"
|
||||
PreviewTextInput="tbTestId_PreviewTextInput"/>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user