Closed akshayjain692 closed 2 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!
Style
property using the VisualStateManager within an implicit Style resource (#17201), similarity score: 0.78Style
property using triggers within a Style resource freezes the UI (#17202), similarity score: 0.78Note: You can give me feedback by thumbs upping or thumbs downing this comment.
I'm guessing it's related to this https://github.com/dotnet/maui/issues/19762
@akshayjain692 I did not reproduce your problem by verifying https://github.com/dotnet/maui-samples/blob/main/8.0/Fundamentals/TriggersDemos/WorkingWithTriggers/Views/DataTriggerXaml.xaml on the latest 17.12.0 Preview 1.0(8.0.82 & 8.0.80). Could you give us a sample project so we can investigate it further? Looking forward to your reply!
Hi @akshayjain692. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Description
Getting exception while changing the style through Data trigger.
`<Button Grid.Row="0" Grid.Column="1" Command="{Binding ItemTappedCommand, Source={x:RelativeSource Mode=FindAncestorBindingContext, AncestorType {x:Type ViewModel}}}" CommandParameter="{Binding .}" IsEnabled="{Binding IsCanMoveNext, Source={x:RelativeSource Mode=FindAncestorBindingContext, AncestorType={x:Type ViewModel}}}" FontSize="{StaticResource keyFontSizeSubTitle}" Text="{translator:Translate Key={x:Static TranslationsConstants.csProceed}}">