🧪 [Experiment] MarqueeText
还没有人认领这个 Issue。
评估
调研方向
从 components/MarqueeText 目录及其示例入手,了解现有的 MarqueeTextBlock 实验。根据实现要求中指出的缺失单元测试覆盖率,以组件当前的行为为依据补充测试,并验证测试是否通过。
由索引模型根据 Issue 内容生成。
描述
Approved from Discussion
https://github.com/CommunityToolkit/Labs-Windows/discussions/231
Problem Statement
At times text might not fit the screen - or you'd want to have a specific experience where text can be animated / looped, similar to what you'd commonly find in newsfeeds.
Overview
This experiment adds the following components:
- MarqueeTextBlock
Using
You can try it out via the NuGet Packages here:
- UWP: https://dev.azure.com/dotnet/CommunityToolkit/_artifacts/feed/CommunityToolkit-Labs/NuGet/CommunityToolkit.Labs.Uwp.MarqueeText
- WinUI 3: https://dev.azure.com/dotnet/CommunityToolkit/_artifacts/feed/CommunityToolkit-Labs/NuGet/CommunityToolkit.Labs.WinUI.MarqueeText
Read more about Preview Packages here.
Code
<labs:MarqueeText Behavior="Ticker"
Direction="Left"
FontSize="18"
RepeatBehavior="Forever"
Speed="{96"
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." />
Result

Documentation & samples
https://github.com/CommunityToolkit/Labs-Windows/tree/main/components/MarqueeText/samples
Additional info
No response
### Implementation Requirements
- [X] Working Prototype
- [X] Feature Complete
- [X] Documentation
- [X] Samples
- [ ] Unit Tests
- [ ] Community Feedback / Usage Testimonies
### Tested Platforms
- [X] UWP
- [X] WinAppSDK / WinUI 3
- [X] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK
### Technical Review
- [ ] Accessibility Audit
- [ ] API/Naming Review
- [ ] Code Quality/Style
- [ ] Dependency Review
- [ ] Design/Style Review
- [ ] Final Approval
Community Help?
None
- 主要语言
- C#
- 星标
- 485
- 派生
- 89
- 平均合并
- 19 小时 46 分钟
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommunityToolkit/Labs-Windows 的其他 Issue
-
bug :bug:
难度 1/5 1-3 小时 新手友好度 80/100
CommunityToolkit/Labs-Windows#815 ·
-
bug :bug:
难度 4/5 3-5 天 新手友好度 38/100
CommunityToolkit/Labs-Windows#816 ·
-
bug :bug:
难度 3/5 1-2 天 新手友好度 55/100
CommunityToolkit/Labs-Windows#814 ·
-
experiment :test_tube:
难度 4/5 3-5 天 新手友好度 48/100
CommunityToolkit/Labs-Windows#812 ·
-
ux :paintbrush:
难度 3/5 1-2 天 新手友好度 52/100
CommunityToolkit/Labs-Windows#808 · 1 条评论 ·
查看 CommunityToolkit/Labs-Windows 的全部 Issue
相似的 Issue
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
microsoft/microsoft-ui-xaml#12515 · 1 条评论 · 1 个 reaction ·
维护者通常 2 天内回复
-
[v5-preview5] `func new` displays incorrect command in error message when project is not initialized未关闭Needs: Triage (Functions) v5 v5-preview5
难度 1/5 1 小时以内 新手友好度 85/100
Azure/azure-functions-core-tools#5838 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
customer-reported needs-team-triage question server-Azure.Mcp tools-Pricing
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100