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.
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.