Altered SplitViews Background and added CornerRadius

This commit is contained in:
Ano-sys
2025-03-23 00:23:36 +01:00
parent 036acd4d19
commit e811a54c61
+4 -3
View File
@@ -36,10 +36,10 @@
</Design.DataContext>
<Panel Background="Transparent">
<SplitView Background="Transparent" IsPaneOpen="{Binding IsSplitOpen, Mode=TwoWay}" DisplayMode="Overlay" OpenPaneLength="250" ClipToBounds="False">
<SplitView Background="Transparent" IsPaneOpen="{Binding IsSplitOpen, Mode=TwoWay}" DisplayMode="Overlay" OpenPaneLength="250" ClipToBounds="False" PaneBackground="Transparent">
<SplitView.Pane>
<Border Background="Transparent" BorderBrush="Gray" BorderThickness="0" CornerRadius="0, 12.5,12.5,0" >
<Grid Background="#66ffffff">
<Border Background="#d4d4fc" BorderBrush="Gray" BorderThickness="1" CornerRadius="0, 12.5,12.5,0">
<Grid Background="#d4d4fc" Margin="5"> <!-- Background of left panel opened -->
<Grid Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="50*"></RowDefinition>
@@ -133,6 +133,7 @@
</Grid>
</SplitView>
<!-- left Info bar -->
<StackPanel Width="30" HorizontalAlignment="Left" IsVisible="{Binding !IsSplitOpen}" Background="#d4d4fc">
<!-- Menu-Opener -->
<Button Content="≡"