Thursday, April 16, 2009

TreeView Bug with Bold Fonts

In a .Net 2.0 Windows forms app, if you can’t get the a TreeNode to be displayed as bold within a TreeView, take a look at this KB article:

The text of a node may be truncated when you programmatically set the Font property of the node to the Bold value in a Windows Forms-based application that uses the .NET Framework 2.0;en-us;937215&x=8&y=13

You have to modify the "Text" property of the Node after it has been added to the TreeView.

1 comment:

  1. Sports Betting - Mapyro
    Bet the moneyline from 1:25 PM หาเงินออนไลน์ to 11:00 PM. See more. MapYO 바카라 사이트 Sportsbook features live odds, 출장마사지 live streaming, and detailed information.