Flexible TreeView 5.1.9 Help
MeasureCustomArea Method (NodeExpandableTextBox)



Node where the node control is hosting.
The draw context.
Measures the custom area (below the title) size in pixels.
Syntax
'Declaration
 
Protected Overrides Function MeasureCustomArea( _
   ByVal pNode As Node, _
   ByVal pContext As DrawContext _
) As Size
'Usage
 
Dim instance As NodeExpandableTextBox
Dim pNode As Node
Dim pContext As DrawContext
Dim value As Size
 
value = instance.MeasureCustomArea(pNode, pContext)
protected override Size MeasureCustomArea( 
   Node pNode,
   DrawContext pContext
)
protected:
Size MeasureCustomArea( 
   Node^ pNode,
   DrawContext^ pContext
) override 

Parameters

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

Return Value

Custom area size in pixels.
Remarks
Derived classes should return a custom area size only, without a Title etc.
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

NodeExpandableTextBox Class
NodeExpandableTextBox Members
Base Implementation in MeasureCustomArea

Send Feedback