ESRI.ArcGIS.ADF.Web.UI.WebControls
Offset Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : Offset Property




Read-only property for the horizontal offset of the node from its StartingPosition due to collapse/expand image, check-box, etc. Since the root-level TreeViewPlus has no such items, this property always returns zero (0).

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public ReadOnly Property Offset As Integer
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim value As Integer
 
value = instance.Offset
C# 
[BrowsableAttribute(false)]
public int Offset {get;}

Remarks

This property is used for child nodes of the tree to determine how far from the left side of the tree to offset the text of the node from its StartingPosition. The Offset takes into account any check-box for the node, any collapse/expand image, any legend and any clear button.

See Also

© 2010 All Rights Reserved.