mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 13:20:30 +08:00
21 lines
999 B
XML
21 lines
999 B
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
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:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="SourceGit.Views.RemoteProtocolSwitcher"
|
|
x:Name="ThisControl">
|
|
<Button Classes="icon_button" Click="OnOpenDropdownMenu">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock FontSize="12"
|
|
Text="{Binding #ThisControl.ActiveProtocol, Mode=OneWay}"
|
|
Foreground="{DynamicResource Brush.Link}"/>
|
|
<Path Width="10" Height="10"
|
|
Margin="4,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Data="M0 0M1939 486L2029 576L1024 1581L19 576L109 486L1024 1401L1939 486Z"
|
|
Fill="{DynamicResource Brush.Link}"/>
|
|
</StackPanel>
|
|
</Button>
|
|
</UserControl>
|