IGxContentsViewColumns Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > CatalogUI > ESRI.ArcGIS.CatalogUI > Interfaces > IG > IGxContentsViewColumns Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (CatalogUI)  

IGxContentsViewColumns Interface

Provides access to members that control the columns of GxContentsView.

Product Availability

Available with ArcGIS Desktop.

Description

The IGxContentsViewColumns interface serves as a container for the GxContentsViewColumn objects contained within the GxContentsView object. The objects in the collection represent the columns in the tabbed display area of the view (when Contents is the active tab).

After using the InsertColumn method to add your new column, execute the UpdateColumn method to refresh the column list. RemoveAllColumns will not remove the Name and Type columns. These columns cannot be removed. Keep in mind that removal of columns is not just for that session, it is permanent.

 

Members

Name Description
Read-only property ColumnByIndex A column by its index.
Read-only property ColumnByProperty A column by its property.
Read-only property ColumnCount The total number of columns (include both visible and invisible columns).
Method InsertColumn Inserts a GxContentsViewColumn before the specified index. If index is -1, the column is inserted at the end.
Method RemoveAllColumns Removes all columns except Name and Type column (they are always shown).
Method RemoveColumn Removes a GxContentsViewColumn.
Method UpdateColumns Refresh columns in contents view after insert or remove columns.

CoClasses that implement IGxContentsViewColumns

CoClasses and Classes Description
GxContentsView GxView that represents the contents view.

Remarks

The IGxContentsViewColumns interface serves as a containter for the GxContentsViewColumn objects contained within the GxContentsView object. The objects in the collection represent the columns in the tabbed display area of the view (when "Contents" is the active tab).

.NET Related Topics

CatalogUI