title: Configuring log4net TextBoxAppender (custom appender) via Xml file
body: <p>This is in followup to my question: <a href="https://stackoverflow.com/questions/14067385/flexible-logging-interface-design-in-c-sharp">Flexible Logging Interface...</a></p>
  
  <p>I now want to write a custom log4net appender for a multiline TextBox, for my WinForms 2.0 application. One of the StackOverflow members devdigital has already pointed me to this link:</p>
  
  <p><a href="http://triagile.blogspot.co.uk/2010/12/log4net-appender-for-displaying.html" rel="nofollow noreferrer">TextBox Appender</a></p>
  
  <p>However, the article does not describe how to configure such an appender via an Xml file. The unique problem in configuring this appender is that we need to pass a reference to a TextBox object to this appender.</p>
  
  <p>So is it at all possible to configure it using an Xml file? Or can such appenders be only configured programmatically? What are the options to make it as configurable or loosely coupled as possible, may be using a combination of Xml file and code?</p>
  
  <p>Thanks.</p>