src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/UI/HeaderControl.cs
/// <summary>
///     Get the index of the underlying header item based on display order.
/// </summary>
/// <param name="displayIndex">The order index</param>
/// <returns>The index of the header item associated with the display column.</returns>
Get the index of the underlying header item based on display order.
Get the index of the underlying header item based on display order .
protected int OrderToIndex(int displayIndex)
        {
            if (IsHandleCreated)
            {
                return (int)NativeMethods.SendMessage(Handle, NativeMethods.HDM_ORDERTOINDEX, displayIndex, 0);
            }
            return displayIndex;
        }
protected int OrderToIndex ( int displayIndex ) { if ( IsHandleCreated ) { return ( int ) NativeMethods . SendMessage ( Handle , NativeMethods . HDM_ORDERTOINDEX , displayIndex , 0 ) ; } return displayIndex ; }
Get the index of the underlying header item based on display order.
Get the index of the underlying header item based on display order .
The index of the header item associated with the display column.
The index of the header item associated with the display column .
displayIndex
int
The order index
The order index