feat: add RefreshContainer and ThemeVariantScope.

This commit is contained in:
rabbitism
2023-02-04 11:49:22 +08:00
parent 3ee089fb32
commit caae00b7c0
12 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<UserControl
x:Class="Semi.Avalonia.Demo.Pages.RefreshContainerDemo"
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"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<StackPanel
Margin="20"
HorizontalAlignment="Left"
Spacing="20">
<RefreshContainer Name="container">
<TextBlock Text="Content" />
</RefreshContainer>
</StackPanel>
</UserControl>