mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
feature: supports to search/filter tags (#215)
This commit is contained in:
parent
575f902a5d
commit
f8c4137c78
6 changed files with 50 additions and 7 deletions
|
@ -206,7 +206,7 @@
|
|||
BorderThickness="1"
|
||||
CornerRadius="4"
|
||||
BorderBrush="{DynamicResource Brush.Border2}"
|
||||
Watermark="{DynamicResource Text.Repository.FilterBranchTip}"
|
||||
Watermark="{DynamicResource Text.Repository.SearchBranchTag}"
|
||||
Text="{Binding SearchBranchFilter, Mode=TwoWay}"
|
||||
VerticalContentAlignment="Center">
|
||||
<TextBox.InnerLeftContent>
|
||||
|
@ -375,10 +375,9 @@
|
|||
</ToggleButton>
|
||||
<DataGrid Grid.Row="7"
|
||||
x:Name="tagsList"
|
||||
MaxHeight="200"
|
||||
Margin="8,0,4,0"
|
||||
Background="Transparent"
|
||||
ItemsSource="{Binding Tags}"
|
||||
ItemsSource="{Binding VisibleTags}"
|
||||
SelectionMode="Single"
|
||||
CanUserReorderColumns="False"
|
||||
CanUserResizeColumns="False"
|
||||
|
@ -391,7 +390,8 @@
|
|||
VerticalScrollBarVisibility="Auto"
|
||||
IsVisible="{Binding IsTagGroupExpanded, Mode=OneWay}"
|
||||
SelectionChanged="OnTagDataGridSelectionChanged"
|
||||
ContextRequested="OnTagContextRequested">
|
||||
ContextRequested="OnTagContextRequested"
|
||||
PropertyChanged="OnTagPropertyChanged">
|
||||
<DataGrid.Styles>
|
||||
<Style Selector="DataGridRow">
|
||||
<Setter Property="CornerRadius" Value="4" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue