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. A user control from a n0ob

A user control from a n0ob

Scheduled Pinned Locked Moved WPF
csharpwpfhelpquestion
3 Posts 2 Posters 0 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.
  • 2 Offline
    2 Offline
    2hdass
    wrote on last edited by
    #1

    Hi, I am new to WPF, just seeking some help. I wanted to create a user control at which it is like an augmented panel(lets call it userpanel). There is a panel where content can be placed, and some buttons on top of the panel to do something. What do i need to do to make what ever content i put into the usrpanel.content to go into the panel of the user control? Right now if i insert some words into the Content of the usrpanel, the whole control blanks out with the text i punch in. thank you :D

    R 1 Reply Last reply
    0
    • 2 2hdass

      Hi, I am new to WPF, just seeking some help. I wanted to create a user control at which it is like an augmented panel(lets call it userpanel). There is a panel where content can be placed, and some buttons on top of the panel to do something. What do i need to do to make what ever content i put into the usrpanel.content to go into the panel of the user control? Right now if i insert some words into the Content of the usrpanel, the whole control blanks out with the text i punch in. thank you :D

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      Use a layout control such as a Grid, StackPanel or Canvas to act as a container of your sub-controls. /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      2 1 Reply Last reply
      0
      • R Ravi Bhavnani

        Use a layout control such as a Grid, StackPanel or Canvas to act as a container of your sub-controls. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        2 Offline
        2 Offline
        2hdass
        wrote on last edited by
        #3

        How can i do that? Do you have any example?

        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