Click or drag to resize

TreeView.GetItemBoundingBox Method (Typed)

X#
Return the bounding box of a tree view item.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD GetItemBoundingBox(
	symItem AS SYMBOL,
	 lTextOnly AS LOGIC
) AS BoundingBox
Request Example View Source

Parameters

symItem
Type: Symbol
The symbolic name of the tree view item whose bounding box you want to obtain.
lTextOnly
Type: Logic
Logical value determining whether the returned bounding box encloses just the portion of the list view item that the text takes up (TRUE), or the entire length of the list view item (FALSE). If omitted, defaults to FALSE.

Return Value

Type: BoundingBox
The bounding box of the tree view item specified by the symbolic name or TreeViewItem object.
See Also