Loading动态滚动效果如下:

1、窗体xaml
<Window x:Class="LoadDemo.LoadWindow"
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"
mc:Ignorable="d"
Title="LoadWindow" Height="25" Width="450"
AllowsTransparency="True" Background="Transparent"
WindowStartupLocation="CenterScreen"
WindowStyle="None"
本文介绍了如何在WPF中实现Loading条的循环滚动效果,包括窗体的xaml设计和交互逻辑实现,可以进一步封装为自定义控件。
订阅专栏 解锁全文
7271

被折叠的 条评论
为什么被折叠?



