|
<UserControl x:Class="DiagnosticExplorer.Silverlight.Controls.RegistrationPrompt"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="106" d:DesignWidth="400"
xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input">
<Border BorderBrush="Silver" BorderThickness="5" Name="border1" Grid.RowSpan="2" CornerRadius="5">
<Grid x:Name="LayoutRoot" Background="White" Margin="5,0,5,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="125" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="32*" />
<RowDefinition Height="41*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<dataInput:Label Name="lPromptName" Content="Name" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" VerticalAlignment="Center" />
<dataInput:Label Name="lPromptUri" Content="Uri" Margin="5,0,0,0" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Stretch" />
<TextBox Name="txtName" Text="{Binding ProcessName, Mode=TwoWay}" Grid.Row="1" VerticalAlignment="Center" />
<TextBox Name="txtUrl" Text="{Binding ProcessUri, Mode=TwoWay}" Margin="5,0,0,0" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" />
<StackPanel Grid.Row="2" Name="stackPanel1" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="1">
<Button Content="OK" Height="23" Name="button1" Width="75" HorizontalAlignment="Right" Margin="4" Click="OnOkClick" />
<Button Content="Cancel" Height="23" Name="button2" Width="75" HorizontalAlignment="Right" Margin="4" Click="OnCancelClick" />
</StackPanel>
</Grid>
</Border>
</UserControl>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a software developer originally from Auckland, New Zealand. I have lived and worked in London since 2005.