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 6571665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:54:41+00:00 2026-05-25T14:54:41+00:00

Im developing an application in C# under WPF.I want to change the status of

  • 0

Im developing an application in C# under WPF.I want to change the status of the check box and also i need to change the text block’s value of already opened window from the currently working windows operation and to update that opened window with these changes(Refresh the already opened window with some updates).

  • 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-05-25T14:54:41+00:00Added an answer on May 25, 2026 at 2:54 pm

    In order to control UI elements from code behind you need to assign a name to each UI element you would like to control.

    As for check box decleared as

    <CheckBox Name="chkA"> Checkbox A </CheckBox>
    

    you can change its’ checked state from code-behind via

    chkA.IsChecked = true; 
    

    As for the diffenet window update – your Windows in WPF are just classes, part of which usually lives in *.xaml file, and another in the corresponding *.cs file.

    If you declare a public method that refreshed the windows content’s as you want in your second windows’ class, and, when you will be creating your second window, you somehow save the reference to its’ instance available in a first class (or some other logic in your application), you will be able to simply call that method from windows’ 1 code to refresh the second widows appearance, as declared in a method called.

    Basically, from Windows1 you call:

    MySecondWindow secW = new MySecondWindow(); 
    
    secW.Show();
    
    ....
    
    secW.RefreshWithMyChages();
    

    RefreshWithMyChages() is just a public method in your second windows’ class codebehind.

    All of this hold true if:

    • both of your windows are in the same project
    • you are not willing to use MVVM or other UI-patterns.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an application in C#. I'm using .Net under WPF. I want
Im developing one GUI in C#.Net under WPF.Actually its an application for serial communication
I am developing an application using Windows Mobile 5.0, under embedded VC++ 4.0, and
I am developing under wamp. echo realpath(APPPATH); C:\wamp\www\salsaritmo\system\application echo realpath(APPPATH . '..'); C:\wamp\www\salsaritmo\system echo
I developing an application in WPF where a single click on an item will
I'm developing an application in WPF and .Net 4 which contains animations. My controls
I developing an application (in C#) where objects are active under a period of
I will be developing an application in Qt, using Qt under the LGPL license.
I'm developing an application on Windows, but I'd also like to support other platforms
I am developing an application which should work under different languages (german, spanish, etc).

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.