A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
1003 B

<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ControlCatalog"
x:Class="ControlCatalog.TransparentStyles">
<!-- Only used when WindowTransparencyLevel != None -->
<Styles.Resources>
<SolidColorBrush x:Key="NavigationBarBackground" Color="Transparent" />
<SolidColorBrush x:Key="TitleBarBackgroundBrush" Color="Transparent" />
<SolidColorBrush x:Key="ExpanderHeaderBackground" Color="Transparent" />
<SolidColorBrush x:Key="ExpanderHeaderBackgroundPointerOver" Color="#33808080" />
<SolidColorBrush x:Key="ExpanderHeaderBackgroundPressed" Color="#66808080" />
</Styles.Resources>
<Style Selector="local|MainView">
<Setter Property="Background" Value="Transparent" />
<Setter Property="DrawerBackground" Value="Transparent" />
<Style Selector="^ TabbedPage">
<Setter Property="Background" Value="Transparent" />
</Style>
</Style>
</Styles>