Open AlleSchonWeg opened 4 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Hi, @AlleSchonWeg a quick fix to your issue would be to use data binding with x:reference
<Border.StrokeShape>
<RoundRectangle CornerRadius="{Binding BindingContext.Corner, Source={x:Reference Self}}" />
</Border.StrokeShape>
Description
Hi, if you bind then CornerRadius to a ViewModel property the value is not recognized:
Viewmodel:
The corner should be 4. But it's set to 0:
Also if you click the button and set it to 12:
Steps to Reproduce
Open Repro. Nightly Version: 8.0.60-ci.net8.24274.1 MauiApp8.zip
Link to public reproduction project repository
No response
Version with bug
Nightly / CI build (Please specify exact version)
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response