Font with Bold and Italic
This make me so funny when I tried to make listview’s
font to bold and italic. The various default properties
of node does not allow to make changes because of get
methods (No Set) .Here is way how i did it.
TreeNode myNode;
Font myFont =
new
Font("Arial",8,FontStyle.Bold | FontStyle.Italic); //
Passing two enum value
myNode.ForeColor = Color.Green; //Making Green
myNode.NodeFont = FontNode;//Assigning to TreeNode Font
properties.
Suresh,[Microsoft MVP | MCAD.NET(CM) | MCSD.NET(EA)]