Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8810987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:15:07+00:00 2026-06-14T03:15:07+00:00

This is a basic process that I cannot find any info on in Google

  • 0

This is a basic process that I cannot find any info on in Google or reference books on my Kindle account.

In regular forms applications pre-Windows 8, if you are on form 2 and you want to update something on form 1, you just type:

form1.Default.controlOnForm1.text = "updated text";

This does not work in Windows 8.

Thank you.

UPDATE:
I found an easy way to do this in cases when databinding does not do what I need. I simply create a static copy of the control I need to access. Say Button1 on page2 needs to be accessed on page1.

At the top declare:

public static Button statButton1;

in the loaded event I create the relationship between the static copy and the button in the XAML code:

statButton1 = Button1;

And then easy as pie, you can access the button anywhere:

page2.statButton1.Width = 48;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:15:08+00:00Added an answer on June 14, 2026 at 3:15 am

    Windows 8 apps (or any other XAML based apps) are usually made using the MVVM Pattern. I really recommend you read about it and do the same. This pattern leads to less coupling in the application and makes it easier to develop and maintain.

    The type of changes you are talking about here would be done by setting a property on the ViewModel (VM), that in turn, notifies the View (UI) with a PropertyChangedEvent so it can refresh itself.

    To allow the ViewModels to set each others properties, they would all need to know about each other, which in turn leads to high coupling. This is usually solved by using an EventAggregator or MessageBus which sends messages/events between objects (without them knowing about each other) based on a subscribe/publish pattern.

    To start out I would look at An Address Book Application Made in MVVM for Metro. This is a basic example which shows the usage of this pattern without any frameworks.

    Once you feel comfortable with the MVVM pattern, I would suggest you use a framework like Caliburn.Micro or MVVM Light. These frameworks offer lots of great stuff for building applications with the MVVM pattern.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is basic stuff but I can't get this following form to process reliably.
I'm trying to learn this basic thing about processors that should be taught in
This seems basic, but can't seem to find a way to implement this: I
I have this basic code that will check for notepad running every minute. namespace
As I understand it, this is the basic process for new Facebook iframe canvas
The specific query that led me to try and unpick this process was: Will
This basic app which was given to me as an project should run quite
I'm reading this basic tutorial on canvas elements . The (almost) in the following
I've created this basic 3D Demo using OpenGL/SDL. I handled the keyboard callback so
Hi I have this basic random quote script, but I would like it to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.