mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
|
<UserControl x:Class="SourceGit.Views.Widgets.PageTabItem"
|
||
|
x:Name="me"
|
||
|
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:controls="clr-namespace:SourceGit.Views.Controls"
|
||
|
mc:Ignorable="d"
|
||
|
d:DesignHeight="450" d:DesignWidth="800">
|
||
|
<StackPanel
|
||
|
Background="Transparent"
|
||
|
Orientation="Horizontal"
|
||
|
ToolTip="{Binding Tip, ElementName=me}"
|
||
|
ContextMenuOpening="OnContextMenuOpening">
|
||
|
|
||
|
<controls:Bookmark
|
||
|
Grid.Column="0"
|
||
|
x:Name="ctrlBookmark"
|
||
|
Width="14" Height="14"
|
||
|
IsNewPage="{Binding IsWelcomePage, ElementName=me}"
|
||
|
Color="{Binding Bookmark, ElementName=me}"
|
||
|
HideOnZero="False"/>
|
||
|
|
||
|
<TextBlock
|
||
|
Grid.Column="1"
|
||
|
Margin="4,0"
|
||
|
FontFamily="Consolas"
|
||
|
FontWeight="Bold"
|
||
|
Text="{Binding Title, ElementName=me}"/>
|
||
|
</StackPanel>
|
||
|
</UserControl>
|