Source

main / Source / Excel / Excel.AddIn / Excel.AddIn / View / RepositoryWindow.xaml

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="DataUp.Excel.Addin.RepositoryWindow"
    x:Name="Window"
    Title="RepositoryWindow"
    Width="400" Height="230" Background="{x:Null}" AllowsTransparency="True" WindowStyle="None">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Resources/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid x:Name="LayoutRoot">
            <HeaderedContentControl Tag="Repositor name and URL" Header="REPOSITORY" Style="{DynamicResource HeaderedWindowStyle}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="40"/>
                </Grid.RowDefinitions>
                <StackPanel>
                <DockPanel LastChildFill="True" Margin="0,10,0,0" VerticalAlignment="Top" Grid.Row="1" >
                <TextBlock Text="Name" Style="{DynamicResource LabelStyle}" />
                <TextBox  Margin="0,0,15,0"  BorderBrush="#FF7E7E7E" BorderThickness="1" Style="{DynamicResource InputTextboxStyle}"/>
            </DockPanel>
                    <DockPanel LastChildFill="True" Margin="0,10,0,0" VerticalAlignment="Top" Grid.Row="1" >
                <TextBlock Text="URL" Style="{DynamicResource LabelStyle}" />
                <TextBox  Margin="0,0,15,0"  BorderBrush="#FF7E7E7E" BorderThickness="1" Style="{DynamicResource InputTextboxStyle}"/>
            </DockPanel>
                </StackPanel>
                <Border Background="White" Grid.Row="1">
                <StackPanel HorizontalAlignment="Right" VerticalAlignment="Center"  Margin="0,0,15,0" Orientation="Horizontal">
                    <Button Content="OK" Command="" Width="75" Style="{DynamicResource SaveCancelButtonStyle}"/>
                    <Button Content="Cancel" IsCancel="true" Width="75" Style="{DynamicResource SaveCancelButtonStyle}" Margin="10,0,0,0"/>
                </StackPanel>
                </Border>
                </Grid>
                </HeaderedContentControl>
    </Grid>
</Window>