I am trying to add some controls to a windows presentation foundation window in csharp.
the window opens and displays itself using the standard xaml declaration.
I then want to add controls using csharp directly, not using the associated xaml file.
which method in the window class do i use to add my new controls with and display them after the window is created and displayed.
I can only find methods such as addvisualchild
while this accepts my controls they do not display on the windows after issuing the show command
can anyone help me with this.
i dont want to use xaml to display the controls either.
many thanks
steve
the window opens and displays itself using the standard xaml declaration.
I then want to add controls using csharp directly, not using the associated xaml file.
which method in the window class do i use to add my new controls with and display them after the window is created and displayed.
I can only find methods such as addvisualchild
while this accepts my controls they do not display on the windows after issuing the show command
can anyone help me with this.
i dont want to use xaml to display the controls either.
many thanks
steve