Flexible TreeView 5.1.9 Help
IsObjectVisible(FlexibleTreeView,Node,eObjectVisibility) Method



The treeview where the specified node is displayed.
The node where an object should be displayed.
An object`s visibility settings.
Determines whether the specified visibility settings allows to display an object in the specified node that is in the specified treeview.
Syntax
'Declaration
 
Public Shared Function IsObjectVisible( _
   ByVal pTreeview As FlexibleTreeView, _
   ByVal pNode As Node, _
   ByVal pVisibility As eObjectVisibility _
) As Integer
'Usage
 
Dim pTreeview As FlexibleTreeView
Dim pNode As Node
Dim pVisibility As eObjectVisibility
Dim value As Integer
 
value = DrawContext.IsObjectVisible(pTreeview, pNode, pVisibility)

Parameters

pTreeview
The treeview where the specified node is displayed.
pNode
The node where an object should be displayed.
pVisibility
An object`s visibility settings.

Return Value

0 or 1 if object either is visible or invisible; otherwise, -1 if object`s state doesn`t allow to check the object visibility in the node.
Remarks
This method is thread safe.
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

DrawContext Class
DrawContext Members

Send Feedback