This question has been asked in many different ways out there, but I have not found the answer yet. I want to add a control in my WPF window that simulates a console (for writting and reading text, possibly with colors). OK… if there is no control out there already (which is very strange since it’s kind of basic), how would I go about building one?
My final goal is to build a Powershell host where I can type commands and get output.
You can always make your application a Console application, which gives you a true console.
Otherwise, if you just want to have input and output, typically this can be done via TextBox and/or RichTextBox or the WPF Document Support.