Version

RepositionColumnInDetailsView Method

Repositions the specified column for the 'Details' View.
Syntax
'Declaration
 
Public Sub RepositionColumnInDetailsView( _
   ByVal column As UltraListViewColumnBase, _
   ByVal visiblePosition As Integer _
) 
public void RepositionColumnInDetailsView( 
   UltraListViewColumnBase column,
   int visiblePosition
)

Parameters

column
The column to be repositioned.
visiblePosition
The new value for the VisiblePositionInDetailsView property.
Remarks

This method sets the VisiblePositionInDetailsView property for all currently visible columns, with the specified column's new value being the value of the visiblePosition parameter.

Note: Assigning a value which is greater than or equal to the number of currently visible columns will result in that value being assigned to the column's VisiblePositionInDetailsView property, but will not change the value of that property for any other columns. Calling this method on a column that is not currently visible in the user interface will produce the same result.

The AllowColumnMoving property determines whether the end user can reposition columns by dragging the header; by default the property is set to true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also