3
Answers

Building an UI from code behind

Ask a question
person

person

14y
3.8k
1
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)