Flexible TreeView 5.1.9 Help
GetFont(Node,DrawContext,Boolean) Method



The node for which to get font.
The operation context.
true if change the font appearance if the specified node is under the mouse cursor and hot tracking is enabled; otherwise, false.
Gets the node control`s text font.
Syntax
'Declaration
 
Protected Overloads Function GetFont( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext, _
   ByVal pCheckHover As Boolean _
) As Font
'Usage
 
Dim instance As NodeControl
Dim pNode As Node
Dim pContext As DrawContext
Dim pCheckHover As Boolean
Dim value As Font
 
value = instance.GetFont(pNode, pContext, pCheckHover)

Parameters

pNode
The node for which to get font.
pContext
The operation context.
pCheckHover
true if change the font appearance if the specified node is under the mouse cursor and hot tracking is enabled; otherwise, false.

Return Value

The node text font.
Remarks
Finds the font in the next order:

1) by calling ARMSoft.FlexibleTreeView.Nodes.Node.GetFont method of the specified node;

2) if null - by raising ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeStyleGetFont event;

3) if null - returns pContext.Font property value.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NodeControl Class
NodeControl Members
Overload List

Send Feedback