src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/Provider/VirtualTree.cs
/// <summary>
///     Find the column number of the given node in the
///     subitem chain starting with this item
/// </summary>
/// <param name="tn">The root node of this item or one of its trailing siblings</param>
/// <returns>Column number</returns>
Find the column number of the given node in the
subitem chain starting with this item
Find the column number of the given node in the subitem chain starting with this item
public int ColumnOfRootNode(TREENODE tn)
            {
                var sn = this;
                while (sn.RootNode != tn)
                {
                    sn = sn.NextSibling;
                }
                Debug.Assert(sn != null);
                return sn.Column;
            }
public int ColumnOfRootNode ( TREENODE tn ) { var sn = this ; while ( sn . RootNode != tn ) { sn = sn . NextSibling ; } Debug . Assert ( sn != null ) ; return sn . Column ; }
Find the column number of the given node in the
subitem chain starting with this item
Find the column number of the given node in the subitem chain starting with this item
None
tn
TREENODE
The root node of this item or one of its trailing siblings
The root node of this item or one of its trailing siblings