init
This commit is contained in:
23
Common/DTS.Common/Controls/TestIDControl.xaml
Normal file
23
Common/DTS.Common/Controls/TestIDControl.xaml
Normal file
@@ -0,0 +1,23 @@
|
||||
<UserControl x:Class="DTS.Common.Controls.TestIdControl"
|
||||
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"
|
||||
mc:Ignorable="d" d:DesignWidth="800" x:Name="TestIdInfo" d:DesignHeight="703">
|
||||
<UserControl.Resources>
|
||||
<Style TargetType="TextBox" BasedOn="{StaticResource PageContentTextBoxStyle}" />
|
||||
<Style TargetType="TextBlock" BasedOn="{StaticResource PageContentTextStyle}" />
|
||||
<Style TargetType="CheckBox" BasedOn="{StaticResource PageContentCheckBoxStyle}" />
|
||||
<Style TargetType="PasswordBox" BasedOn="{StaticResource PageContentPasswordBoxStyle}" />
|
||||
<Style TargetType="Button" BasedOn="{StaticResource PageContentButton}" />
|
||||
</UserControl.Resources>
|
||||
<StackPanel Orientation="Horizontal" AutomationProperties.AutomationId="StackPanelTestIdBuilder" DataContext="{Binding ElementName=TestIdInfo}">
|
||||
<ComboBox ItemsSource="{Binding AllTestIdPrefixSuffixValues}" Width="200" SelectedItem="{Binding SelectedTestIdPrefixValueItem}"
|
||||
AutomationProperties.AutomationId="TestIdPrefixComboBox"/>
|
||||
<TextBlock Text="{Binding TestSetupLabel, FallbackValue='Awesome Sauce'}" Visibility="{Binding TestSetupLabelVisibility, FallbackValue=Collapsed}" AutomationProperties.AutomationId="TestIdTextBox"/>
|
||||
<TextBox Text="{Binding TestIdEditableText}" Width="150" Style="{StaticResource PageContentTextBoxStyleId}"
|
||||
AutomationProperties.AutomationId="TestIdTextBox"/>
|
||||
<ComboBox ItemsSource="{Binding AllTestIdPrefixSuffixValues}" Width="200" SelectedItem="{Binding SelectedTestIdSuffixValueItem}"
|
||||
AutomationProperties.AutomationId="TestIdSuffixComboBox"/>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user