Skip to content
Discussion options

You must be logged in to vote

@SaddamBInSyed
This is not an issue of MAUI, but your code.
I checked your project and found the root cause.

The problem is your DataTrigger. It reference to an unkown Control pancake:PancakeView.

<Border.Triggers>
        <DataTrigger
              Binding="{Binding ShoppingCart.ItemCount}"
              TargetType="pancake:PancakeView"
              Value="0">
            <Setter Property="IsVisible" Value="False" />
        </DataTrigger>
    </Border.Triggers>

Add a reference to "pancake:" in your XAML file header (you need to find the MAUI counterpart for this), or remove the trigger

xmlns:pancake="clr-namespace:Xamarin.Forms.PancakeView;assembly=Xamarin.Forms.PancakeView"

https://gi…

Replies: 3 comments 1 reply

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@SaddamBInSyed
Comment options

Answer selected by SaddamBInSyed

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #8249 on June 23, 2022 08:45.