This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > CatalogUI > ESRI.ArcGIS.CatalogUI > Interfaces > IG > IGxContentsViewColumns Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control the columns of GxContentsView.
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.
Description | ||
---|---|---|
ColumnByIndex | A column by its index. | |
ColumnByProperty | A column by its property. | |
ColumnCount | The total number of columns (include both visible and invisible columns). | |
InsertColumn | Inserts a GxContentsViewColumn before the specified index. If index is -1, the column is inserted at the end. | |
RemoveAllColumns | Removes all columns except Name and Type column (they are always shown). | |
RemoveColumn | Removes a GxContentsViewColumn. | |
UpdateColumns | Refresh columns in contents view after insert or remove columns. |
CoClasses and Classes | Description |
---|---|
GxContentsView | GxView that represents the contents view. |
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).