<UserControl x:Class="ImageSort.WPF.Views.Credits.UsedLibraryView"
             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:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI"
             xmlns:text="clr-namespace:ImageSort.Localization;assembly=ImageSort.Localization"
             mc:Ignorable="d"
             d:DesignHeight="450" d:DesignWidth="800"
             Margin="{adonisUi:Space 1}">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="auto" />
        </Grid.ColumnDefinitions>

        <TextBlock Text="{Binding LibraryName}" />

        <TextBlock Grid.Column="1" Hyperlink.RequestNavigate="OnRequestNavigate">
            <Hyperlink NavigateUri="{Binding ProjectUrl}">
                <Run Text="{x:Static text:Text.CreditsProjectLink}" />
            </Hyperlink>
            <Run />
            <Hyperlink NavigateUri="{Binding LicenseUrl}">
                <Run Text="{x:Static text:Text.CreditsLicenseLink}" />
            </Hyperlink>
        </TextBlock>
    </Grid>
</UserControl>