Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Displaying (Calling) 2 UserControl within a UserControl (WPF)

Displaying (Calling) 2 UserControl within a UserControl (WPF)

Scheduled Pinned Locked Moved WPF
wpfcsharpdesign
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LAPEC
    wrote on last edited by
    #1

    Hello everyone In my WPF project I have created a UserControl (this is called Applic.xaml), and within this usercontrol I have placed another UserControl (this is called PasswordScreen.xaml). Here is the xaml design code:

                  **"HERE IS THE UserControl THAT I PLACED..."**
    

    In PasswordScreen.xaml there is a button (called Login). On click event when clicked I want to call ano

    M 1 Reply Last reply
    0
    • L LAPEC

      Hello everyone In my WPF project I have created a UserControl (this is called Applic.xaml), and within this usercontrol I have placed another UserControl (this is called PasswordScreen.xaml). Here is the xaml design code:

                    **"HERE IS THE UserControl THAT I PLACED..."**
      

      In PasswordScreen.xaml there is a button (called Login). On click event when clicked I want to call ano

      M Offline
      M Offline
      Matt T Heffron
      wrote on last edited by
      #2

      For starters you're not modifying the existing Applic UserControl. You are creating a new one and setting the SwitchboardView into that UserControl. Then you're dropping them both on the floor!

      A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.

      L 1 Reply Last reply
      0
      • M Matt T Heffron

        For starters you're not modifying the existing Applic UserControl. You are creating a new one and setting the SwitchboardView into that UserControl. Then you're dropping them both on the floor!

        A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.

        L Offline
        L Offline
        LAPEC
        wrote on last edited by
        #3

        Hello Matt Thank you for replying to my question. I am really struggling on this could you please if you can help me to solve this problem, I'm new to wpf and c# honestly. Kind regards Lapeci

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups