WPF (irc) chat log control
Posted
by
user408952
on Stack Overflow
See other posts from Stack Overflow
or by user408952
Published on 2010-12-31T13:04:30Z
Indexed on
2010/12/31
13:54 UTC
Read the original article
Hit count: 329
I'm trying to learn WPF and was thinking about creating a simple IRC client. The most complicated part is to create the chat log. I want it to look more or less like the one in mIRC:
or irssi:
The important parts are that the text should be selectable, lines should wrap and it should be able to handle quite large logs.
The alternatives that I can come up with are:
- StackPanel inside a ScrollViewer where each line is a row
- ListView, since that seems more suitable for dynamic content/data binding.
- Create an own control that does the rendering on its own.
Is there any WPF guru out there that has some ideas on which direction to take and where to start?
© Stack Overflow or respective owner