System.Windows.Forms.TreeNode.NodeFont Property

Gets or sets the font that is used to display the text on the tree node label.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(null)]
public System.Drawing.Font NodeFont { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If null, the System.Drawing.Font used is the Control.Font property value of the System.Windows.Forms.TreeView control that this node is attached to.

Note:

If the node font is larger than the Control.Font property value that is set in the System.Windows.Forms.TreeView control, the tree node label text is clipped.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0