- 0
C# Win8 Store: access parent xaml from object
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
New System32 files suggest Microsoft may ditch UWP for XAML and Win32-based Windows 11 Shell 1 2
By hellowalkman,
- microsoft
- windows 11
- (and 11 more)
- 33 replies
- 4 views
-
Bug or feature? Microsoft might be working on movable Taskbar on Windows 11 after all 1 2
By hellowalkman,
- windows 11 taskbar
- windows 11
- (and 5 more)
- 32 replies
- 3 views
-
Microsoft Weekly: Ads for Edge, the next major update for Windows 11, and bugs
By Usama Jawad96,
- microsoft
- microsoft weekly
- (and 22 more)
- 0 replies
- 2 views
-
Microsoft may soon ditch DirectUI and move to XAML, WinAppSDK on next-gen Windows 11
By hellowalkman,
- windows 11 gallery
- windows 11 ui
- (and 17 more)
- 20 replies
- 3 views
-
- 17 replies
- 1,175 views
-
Question
James Rose
Hello gang,
I am creating a WIn8 store app and with that a basic class that will do the majority of work. I want this class to call back to the MainPage.xaml to access objects placed within it.
For example in the app.xaml.cs I have the following code
I thought I recall somewhere that I need to pass the parent into the class with the "this" keyword.
objBediaEngine = new BediaEngine(this);
[/CODE]
I am close, I believe, but I could use a point to a page that gives me some details.
Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts