Returns the column's zero-based index in the column collection.
Class: CellClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public int ColumnIndex { get; }
Public ReadOnly Property ColumnIndex As IntegerA value that specifies the zero-based column index in the column collection.
Returns the column's zero-based index in the column collection.
The CellClass.OwningItem property can be used to determine the item to which this cell belongs.
}
ToolTipClass.ShowToolTip(sftTree1, loc, ttIcon, title, text, ArrowLoc);
}
private void sftTree1_ItemClick(object sender, ItemClickEventArgs e) {
if (e.Item != null && e.Cell != null) {
if (e.Item.UsageLocation == UsageLocationEnum.footer &&
e.Area == ItemClickAreaEnum.Cell &&
e.Item.VisibleIndex == 0 && e.Cell.ColumnIndex == 2 &&
e.Part is ButtonPartClass) {
try {
System.Diagnostics.Process.Start("http://www.softelvdm.com/treenet.html");
} catch {
}
}
}
End If
ToolTipClass.ShowToolTip(sftTree1, loc, ttIcon, title, text, ArrowLoc)
End Sub
Private Sub sftTree1_ItemClick(ByVal sender As System.Object, ByVal e As Softelvdm.SftTreeNET.ItemClickEventArgs) Handles sftTree1.ItemClick
If Not e.Item Is Nothing And Not e.Cell Is Nothing Then
If e.Item.UsageLocation = UsageLocationEnum.footer And _
e.Area = ItemClickAreaEnum.Cell And _
e.Item.VisibleIndex = 0 And e.Cell.ColumnIndex = 2 And _
TypeOf e.Part Is ButtonPartClass Then
Try
System.Diagnostics.Process.Start("http://www.softelvdm.com/treenet.html")
Catch ex As Exception
End TrySee Also CellClass Class | Classes | SftTree/NET 3.0