Flexible TreeView 5.1.9 Help
MeasureSize Method (NodeColorPicker)



Node where the node control is hosting.
The draw context.
Measures size of the node control within the specified node.
Syntax
'Declaration
 
Protected Overrides Function MeasureSize( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext _
) As Size
'Usage
 
Dim instance As NodeColorPicker
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
)
protected:
Size MeasureSize( 
   Node^ pNode,
   DrawContext^ pContext
) override 

Parameters

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

Return Value

Node control size.
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

NodeColorPicker Class
NodeColorPicker Members
Base Implementation in MeasureSize

Send Feedback