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
Master Issue: #1290
Crashes with Expected template part not found: PART_ContentGrid"
Expected template part not found: PART_ContentGrid"
Nuget Package:
Package Version(s):
Affected platform(s):
IDE:
Relevant plugins:
The text was updated successfully, but these errors were encountered:
so somehow the TemplateBinding doesnt work on windows... in this specific case...?
uno.toolkit.ui/src/Uno.Toolkit.UI/Controls/ZoomContentControl/ZoomContentControl.xaml
Line 36 in beb4d12
given this xaml
<Grid> <ContentPresenter ...> <ContentPresenter.RenderTransform> <TransformGroup> <ScaleTransform ... ScaleX="{TemplateBinding ZoomLevel}" ScaleY="{TemplateBinding ZoomLevel}" /> ^ changing to binding with relativesource tempaltedparent made it work <StackPanel> <TextBlock Foreground="Red">tb ZoomLevel:<Run Text="{TemplateBinding ZoomLevel}" /></TextBlock> <TextBlock Foreground="Red">btp ZoomLevel:<Run Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ZoomLevel}" /></TextBlock> </StackPanel>
here is the result on winappsdk:
microsoft says that "The types used as the value for the source property and the target property must match." while it wasnt the case for the textblock, it should be for ScaleTransform.ScaleX and ZoomContentControl.ZoomLevel, both are double without nullable...
double
Sorry, something went wrong.
Closing this issue as it has been resolved by #1297
ZoomContentControl
vatsashah45
No branches or pull requests
Master Issue: #1290
Current behavior
Crashes with
Expected template part not found: PART_ContentGrid"
Expected behavior
How to reproduce it (as minimally and precisely as possible)
Nuget Package:
Package Version(s):
Affected platform(s):
IDE:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: