-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
25 lines (25 loc) · 1.93 KB
/
MainWindow.xaml
File metadata and controls
25 lines (25 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Window x:Class="DualSenseBatteryMonitor.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:local="clr-namespace:DualSenseBatteryMonitor"
mc:Ignorable="d"
Title="DualSense Battery Monitor" Height="400" Width="200" WindowStartupLocation="Manual" Loaded="Window_Loaded"
Left="0" Top="0" Foreground="White" Background="Transparent" WindowStyle="None" SnapsToDevicePixels="True" Topmost="True" Focusable="False" IsHitTestVisible="False" IsTabStop="False" ResizeMode="NoResize" ShowInTaskbar="False" Icon="/icons/window/BatteryMonitor.ico" ShowActivated="False" AllowsTransparency="True">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="11*"/>
<RowDefinition Height="89*"/>
</Grid.RowDefinitions>
<Border BorderThickness="1,1,0,1" CornerRadius="20,0,0,20" SnapsToDevicePixels="True" ClipToBounds="True" ScrollViewer.VerticalScrollBarVisibility="Disabled" Grid.RowSpan="2">
<Border.Background>
<LinearGradientBrush x:Name="gradient_background" EndPoint="0,0" StartPoint="1,1" SpreadMethod="Pad">
<GradientStop Color="#FF00439C" Offset="0"/>
<GradientStop Color="#FF1F1F1F" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<ListBox x:Name="flowLayout_controller" Grid.Row="1" Grid.Column="4" Foreground="White" Focusable="False" IsTextSearchEnabled="False" ClipToBounds="True" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}" Background="{x:Null}" Margin="15,0,0,0"></ListBox>
</Border>
</Grid>
</Window>