Flexible TreeView 5.1.9 Help
MeasureSize Method (NodeImage)

Node where the node control is hosting.
The draw context.
Measures size of the node control within the specified node.
Protected Overrides Function MeasureSize( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext _
) As Size
Dim instance As NodeImage
Dim pNode As Node
Dim pContext As DrawContext
Dim value As Size
value = instance.MeasureSize(pNode, pContext)
protected override Size MeasureSize( 
   Node pNode,
   DrawContext pContext
Size MeasureSize( 
   Node^ pNode,
   DrawContext^ pContext
) override 


Node where the node control is hosting.
The draw context.

Return Value

Node control size.

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


NodeImage Class
NodeImage Members
Base Implementation in MeasureSize

Send Feedback