person

person

  • NA
  • 96
  • 0

Building an UI from code behind

Jan 7 2010 12:18 PM
Hi,

I was wondering if there is a way of defining WPF components in the code behind, building a full UI inside a Grid, then inserting this into a global container (WPF or WinForms).

i.e. a textblock with 2 buttons --> added to -- > wrappanel --> inserted into a wpf window

all from code behind.

Thanks in advance.

Person.

Answers (3)