/
Logris
/
FileWatchService
Обзор
Документация
Войти
/
Logris
/
FileWatchService
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
AdminTools/Service/MiracleService/Properties.xaml
123 строки
5 KB
Logrus
first commit
15 мар 2025, 14:15
15 мар 2025, 14:15
6de831b
Код
Авторство
О чём код?
<Window x:Class="MiracleAdmin.Service.Properties" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:av="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Title="Properties" Width="750" Height="364" Background="#FF333333" DataContext="{Binding}" ShowInTaskbar="False" WindowStartupLocation="CenterScreen" mc:Ignorable="av"> <Grid> <Grid.Resources> <Style TargetType="{x:Type Button}"> <Setter Property="SnapsToDevicePixels" Value="true" /> <Setter Property="OverridesDefaultStyle" Value="true" /> <Setter Property="IsTabStop" Value="True" /> <Setter Property="Focusable" Value="False" /> <Setter Property="Background" Value="#151515" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border x:Name="Border" Background="{TemplateBinding Background}" BorderBrush="#404040" BorderThickness="1" CornerRadius="5"> <TextBlock Margin="5" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#c0c0c0" Text="{TemplateBinding Content}" /> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Background" Value="#252525" /> </Trigger> <Trigger Property="IsPressed" Value="True"> <Setter Property="Background" Value="#353535" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </Grid.Resources> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="40" /> </Grid.RowDefinitions> <TabControl x:Name="tabProperties" Margin="10" Background="#202020" BorderBrush="#FF444444" BorderThickness="0"> <TabControl.Resources> <Style TargetType="TabItem"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="TabItem"> <Border Name="Border" Margin="5,0,5,-2" Background="#202020" BorderThickness="0" CornerRadius="5,5,0,0"> <Grid> <ContentPresenter x:Name="ContentSite" Margin="20,5" HorizontalAlignment="Center" VerticalAlignment="Center" ContentSource="Header" TextBlock.Foreground="#909090" /> <Border x:Name="SelectedBorder" Height="3" VerticalAlignment="Top" Background="#FF00B5FF" CornerRadius="5,5,0,0" Visibility="Hidden" /> </Grid> </Border> <ControlTemplate.Triggers> <Trigger Property="IsSelected" Value="True"> <Setter TargetName="SelectedBorder" Property="Visibility" Value="Visible" /> </Trigger> <Trigger Property="IsSelected" Value="False"> <Setter TargetName="SelectedBorder" Property="Visibility" Value="Hidden" /> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter> </Style> </TabControl.Resources> </TabControl> <Button Grid.Row="1" Width="75" Margin="0,0,10,10" HorizontalAlignment="Right" VerticalAlignment="Bottom" BorderThickness="0" Click="Button_Click_Close" Content="Ok" /> </Grid> </Window>