Click here to Skip to main content
15,904,951 members

Comments by Baraiboapex (Top 6 by date)

Baraiboapex 13-May-24 16:28pm View    
Lastly, I just tried the following: {Binding
Source={RelativeSource AncestorType={x:Type datacollection:PageViewModel}},
Path=ChildSectionTapped}"
CommandParameter="{Binding Source={RelativeSource Self}}
for the command and command parameter, still no luck
Baraiboapex 13-May-24 15:57pm View    
I should also clarify that I also changed the child template to something less complex and it didn't work:
<DataTemplate x:Key="TargetGroupSummaryTemplate" x:DataType="datacollection:ChildSectionItem">
    <VerticalStackLayout HeightRequest="50" BackgroundColor="Bisque">
        <VerticalStackLayout BindingContext="" BackgroundColor="Aqua">
            <VerticalStackLayout.GestureRecognizers>
                <TapGestureRecognizer Command="{Binding BindingContext.ChildSectionTapped, Source={x:Reference Form}}" CommandParameter="{Binding .}"/>
            </VerticalStackLayout.GestureRecognizers>
            <Label Text="U R AN IDIOT HA HAHAHAHAHA" TextColor="Black"/>
        </VerticalStackLayout>
    </VerticalStackLayout>
</DataTemplate>
Baraiboapex 13-May-24 15:13pm View    
I do apologize for the long question, I just want to display as much information as possible to see if there is anything that I might have missed. Do let me know if any questions come up. Thanks again!
Baraiboapex 13-May-24 10:10am View    
Okay. I got it working, thanks for the help! However, now I cannot expand the child collection view which is also required since apparently, it's not hitting the tap event I created for it. I'll open up a separate question for this here shortly, if needed.
Baraiboapex 2-Mar-24 17:28pm View    
Hi Guys thanks for the tips! I do apologize for the confusing question. You are absolutely right this is a little much to take in all at once. Also, the avoiding the use of void on an async is a good idea I will see what I can do about this. I did manage to find another work around for this issue and now wondering if I try to implement this class again along with the work around that it will work. I will edit this question further afterwards. Cheers