Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I hav a prob, i have this xaml code in MainWindow

<pageTransitions:PageTransition x:Name="pageTransition" Margin="5" TransitionType="Fade" Grid.Row="2"/>


and on other xaml, vbcode (to trigger page transition)

VB
Dim admin As New Admin

            PageTransition.ShowPage(admin)


        End Sub

but it says Reference to a non-shared member requires an object reference

i need to target the pagetransition which is at MainWindow to update the page to navigate. but how can i do it? please help. thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900