-
December 22nd, 2009, 10:09 AM
#1
Create Controls at runtime!
I am really new for WPF, I am trying to create Radiobuttons,checkbox and textbox control at run time.
Is it possible to create controls at runtime in WPF,if yes then please let me know good link or sample code.
Thanks for taking your time!
I am using C# and VisualStudio2008.
-
December 27th, 2009, 04:00 PM
#2
Re: Create Controls at runtime!
You can do this in C# code directly. However, you probably don't need to do it this way.
Can you describe what you are trying to accomplish? There probably is a way to cleanly do it in xaml, so you won't have to use the code behind.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|