src/Misc/EFTools/DesignXmlCore/VirtualTreeGrid/UI/ColumnHeader.cs
/// <summary>
///     Retrieve a single column header.
/// </summary>
/// <param name="column">The native column. Use ColumnPermutation.GetNativeColumn if you have a display column.</param>
/// <returns>A column header. The IsEmpty property of the returned structure will be true if no headers are set.</returns>
Retrieve a single column header.
Retrieve a single column header .
public VirtualTreeColumnHeader GetColumnHeader(int column)
        {
            if (myFullHeaders != null)
            {
                if (GetStateFlag(VTCStateFlags.FullColumnHeadersDirty))
                {
                    myHeaderBounds.ReverseIntegratePermutedSettings(
                        myColumnPermutation, GetStateFlag(VTCStateFlags.FixedColumnAutoFilled), myFullHeaders);
                    SetStateFlag(VTCStateFlags.FullColumnHeadersDirty, false);
                }
                return myFullHeaders[column];
            }
            return new VirtualTreeColumnHeader();
        }
public VirtualTreeColumnHeader GetColumnHeader ( int column ) { if ( myFullHeaders != null ) { if ( GetStateFlag ( VTCStateFlags . FullColumnHeadersDirty ) ) { myHeaderBounds . ReverseIntegratePermutedSettings ( myColumnPermutation , GetStateFlag ( VTCStateFlags . FixedColumnAutoFilled ) , myFullHeaders ) ; SetStateFlag ( VTCStateFlags . FullColumnHeadersDirty , false ) ; } return myFullHeaders [ column ] ; } return new VirtualTreeColumnHeader ( ) ; }
Retrieve a single column header.
Retrieve a single column header .
// Return an empty header
A column header. The IsEmpty property of the returned structure will be true if no headers are set.
A column header . The IsEmpty property of the returned structure will be true if no headers are set .
column
int
The native column. Use ColumnPermutation.GetNativeColumn if you have a display column.
The native column . Use ColumnPermutation . GetNativeColumn if you have a display column .