/
vasiukoff
/
sg
Обзор
Документация
Войти
/
vasiukoff
/
sg
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/Views/FilterModeInGraph.axaml
32 строки
1 KB
leo
ux: style for `Visibility in Graph`
13 авг 2025, 07:06
13 авг 2025, 07:06
1eb313f
Код
Авторство
О чём код?
<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" xmlns:vm="using:SourceGit.ViewModels" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="SourceGit.Views.FilterModeInGraph" x:DataType="vm:FilterModeInGraph"> <Grid RowDefinitions="22,26"> <TextBlock Grid.Row="0" Text="{DynamicResource Text.Repository.FilterCommits}" FontWeight="Bold" Foreground="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForeground}"/> <StackPanel Grid.Row="1" Orientation="Horizontal"> <ToggleButton Classes="line_path" Width="15" Height="26" Background="Transparent" IsChecked="{Binding IsFiltered, Mode=TwoWay}"> <Path Width="13" Height="13" Data="{StaticResource Icons.Filter}"/> </ToggleButton> <ToggleButton Classes="line_path" Width="15" Height="26" Margin="12,0,0,0" Background="Transparent" IsChecked="{Binding IsExcluded, Mode=TwoWay}"> <Path Width="13" Height="13" Data="{StaticResource Icons.EyeClose}"/> </ToggleButton> </StackPanel> </Grid> </UserControl>