using tree node class in c#
<p>I have a tree node and the tree node can be checked. The thing is that I need to be able to gray out or disable a specific node programmatically. So for instance</p>

<pre><code>  [] Head Node
      [sub Node]
      [sub Node]
  [] another node 1
  [] another node 2
</code></pre>

<p>So lets say that I check "another node 2" then it should not dissapear but instead appear grayed out or disabled but still visible</p>

<p>so it would look like this</p>

<pre><code>  [] Head Node
      [sub Node]
      [sub Node]
  [] another node 1
  [X] another node 2  //and this would be disabled but still visible
</code></pre>

<p>I hope you understand what I want to do just not sure how to disable it and still keep it visible.</p>

<p>Thank you</p>
