We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
视频演示
视频中的代码
<StackPanel> <!-- Semi 超出容器区域 --> <Border Theme="{DynamicResource CardBorder}"> <Border.Styles> <semi:SemiTheme Locale="zh-cn" /> </Border.Styles> <Expander BorderThickness="0" BorderBrush="Transparent" Width="120" Header="标题"> <TextBlock Text="Content" TextWrapping="Wrap"> </TextBlock> <Expander.ContentTransition> <Rotate3DTransition Orientation="Vertical" Duration="0:0:0.5" /> </Expander.ContentTransition> </Expander> </Border> <!-- Semi不超出容器区域 --> <Border Theme="{DynamicResource CardBorder}" Height="130"> <Border.Styles> <semi:SemiTheme Locale="zh-cn" /> </Border.Styles> <Expander BorderThickness="0" BorderBrush="Transparent" Width="120" Header="标题"> <TextBlock Text="Content" TextWrapping="Wrap"> </TextBlock> <Expander.ContentTransition> <Rotate3DTransition Orientation="Vertical" Duration="0:0:0.5" /> </Expander.ContentTransition> </Expander> </Border> <!-- 原生 --> <Border Theme="{DynamicResource CardBorder}" BorderThickness="1" BorderBrush="Gainsboro" Margin="3 10 3 0" Padding="10" CornerRadius="4"> <Expander BorderThickness="0" BorderBrush="Transparent" HorizontalAlignment="Center" Width="120" Header="标题"> <TextBlock Text="Content" TextWrapping="Wrap"> </TextBlock> <Expander.ContentTransition> <Rotate3DTransition Orientation="Vertical" Duration="0:0:0.5" /> </Expander.ContentTransition> </Expander> </Border> </StackPanel>
版本信息为
<ItemGroup> <PackageReference Include="Avalonia" Version="11.1.1" /> <PackageReference Include="Avalonia.Desktop" Version="11.1.1" /> <PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.1" /> <PackageReference Include="Avalonia.Fonts.Inter" Version="11.1.1" /> <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.1.1" /> <PackageReference Include="Semi.Avalonia" Version="11.1.0" /> </ItemGroup>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
视频演示
demo.mp4
视频中的代码
版本信息为
The text was updated successfully, but these errors were encountered: