Flexible TreeView 5.1.9 Help
MeasureVisualElement Method (ThemeManagerOffice2007Blue)



A visual element to measure.
The draw context.
Gets the specified visual element`s size.
Syntax
'Declaration
 
Protected Friend Overrides Function MeasureVisualElement( _
   ByVal pElement As eVisualElement, _
   ByVal pContext As DrawContext _
) As Size
'Usage
 
Dim instance As ThemeManagerOffice2007Blue
Dim pElement As eVisualElement
Dim pContext As DrawContext
Dim value As Size
 
value = instance.MeasureVisualElement(pElement, pContext)
protected internal override Size MeasureVisualElement( 
   eVisualElement pElement,
   DrawContext pContext
)
protected internal:
Size MeasureVisualElement( 
   eVisualElement pElement,
   DrawContext^ pContext
) override 

Parameters

pElement
A visual element to measure.
pContext
The draw context.

Return 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

ThemeManagerOffice2007Blue Class
ThemeManagerOffice2007Blue Members
Base Implementation in MeasureVisualElement

Send Feedback