Skip to content
New issue

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

Please add SystemBackdrop property to TeachingTip #9444

Open
Gaoyifei1011 opened this issue Mar 15, 2024 · 0 comments
Open

Please add SystemBackdrop property to TeachingTip #9444

Gaoyifei1011 opened this issue Mar 15, 2024 · 0 comments
Labels
area-TeachingTip feature proposal New feature proposal team-Controls Issue for the Controls team

Comments

@Gaoyifei1011
Copy link

Gaoyifei1011 commented Mar 15, 2024

Describe the bug

Please add SystemBackdrop property to TeachingTip
希望能为 TeachingTip 控件带来 SystemBackdrop 属性

Most WinUI 3 controls can be set based on PopupRoot ShouldConstrainToRootBounds attribute and SystemBackdrop attribute, This means that these surfacing controls have their own control over where they are displayed and the Systembackdrop properties they use. In TeachingTip, however, we can only find ShouldConstrainToRootBounds attribute, cannot find SystemBackdrop attributes, when modifying TeachingTip background to transparent, TeachingTip is transparent because the SystemBackdrop property cannot be set. Hopefully, the SystemBackdrop property will be added to TeachingTip in the next release.
目前大部分 WinUI 3 基于 PopupRoot 的控件都可以自行设置 ShouldConstrainToRootBounds 属性和 SystemBackdrop 属性,这意味着这一部分浮出控件可以自行控制它们显示的位置和使用的背景色属性。然而,在 TeachingTip 中,我们只能找到 ShouldConstrainToRootBounds 属性,却找不到 SystemBackdrop 属性,当修改 TeachingTip 的背景为透明时,由于无法设置 SystemBackdrop 属性,故 TeachingTip 显示为透明,希望下一个版本中可以为 TeachingTip 带来 SystemBackdrop 属性

Steps to reproduce the bug

See describe

Expected behavior

When TeachingTip Background attribute is set to Transparent, ShouldConstrainToRootBounds when set to false, You can use the SystemBackdrop property to provide a system backdrop for the TeachingTip
当 TeachingTip Background 属性设置为 Transparent,ShouldConstrainToRootBounds 设置为 false时,通过设置 SystemBackdrop 属性可以为 TeachingTip 带来背景色

Screenshots

image

NuGet package version

WinUI 3 - Windows App SDK 1.5.1: 1.5.240311000

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@Gaoyifei1011 Gaoyifei1011 added the bug Something isn't working label Mar 15, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 15, 2024
@codendone codendone added area-TeachingTip team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Apr 5, 2024
@ranjeshj ranjeshj added feature proposal New feature proposal and removed bug Something isn't working labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TeachingTip feature proposal New feature proposal team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants