ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class
Properties Methods


In This Topic
    TableView Class Members
    In This Topic

    The following tables list the members exposed by TableView.

    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic) Gets the active table view.  
    Public Property Gets the zero based index of the active field in the table. Can be -1 if there are no fields.  
    Public Property Gets the ObjectID of the active row in the table. The value of the row can be null, when the table does not have object ids, the active row is the new row, or the data for the row has not been loaded.  
    Public Property Gets the zero based index of the active row in the table. Can be -1 if there is no active row.  
    Public Property Determines if the Add Field GP tool can be displayed.  
    Public Property Determines if the table view can clear its highlight. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can clear its selection.  
    Public Property Determines if the table view can display the custom sort dialog.  
    Public Property Determines if the active field of the table view can be deleted.  
    Public Property Determines if the table can delete the highlighted rows. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can delete the selected rows.  
    Public Property Determines if the table view can export its attributes.  
    Public Property Determines if the table view can display the Find control.  
    Public Property Determines if the table view can display the Find and replace control.  
    Public Property Gets if the objectIds of the highlighted rows can be retrieved. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can display the Go to row number control.  
    Public Property Determines if the table view's selected fields can be hidden.  
    Public Property Gets if rows can be highlighted in the table view. The table view must be showing the Selected Records view.  
    Public Property Determines if the table can pan to the highlighted rows. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can pan to the selected rows.  
    Public Property Determines if the table view can refresh its content.  
    Public Property Resets the field order in the table view.  
    Public Property Determines if the table view can select rows.  
    Public Property Determines if the table view can select all of its rows.  
    Public Property Determines if the table view can show all fields.  
    Public Property Determines if the table view can sort the active field.  
    Public Property Determines if the table view can sort the active field.  
    Public Property Determines if the table view can switch its highglight. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can switch its selection.  
    Public Property Determines if the table view can toggle the field name and alias.  
    Public Property Determines if the table view can toggle the highlight of the active row. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can toggle the selection of the active row.  
    Public Property Determines if the table view can toggle between the subtype and domain descriptions and codes  
    Public Property Determines if the table can zoom to the highlighted rows. The table view must be showing the Selected Records view.  
    Public Property Determines if the table view can zoom to the selected rows.  
    Public PropertyGets a value that indicates whether the TableView can be accessed. This property is false while the table view processes major operations like initializing.  
    Public Property Gets the IsRowCountKnown property indicating the table view knows the count of rows in the data source.  
    Public PropertyGets the item source of the table view. Use ArcGIS.Desktop.Core.ItemFactory.CanGetDataset and ArcGIS.Desktop.Core.ItemFactory.GetDataset to retrieve the data.  
    Public Property Gets the Layer or StandaloneTable source of the table view.  
    Public Property Gets the number of rows in the data source. If the IsRowCountKnown is true, then this is a total count.  
    Public Property Gets the number of rows the table view is requesting, from the data source, for each page.  
    Public Property Gets and sets the current state of displaying the field alias.  
    Public Property Gets and sets the current state of displaying subtype and domain descriptions.  
    Public Property Gets the view mode of the table view.  
    Public Property Gets the zoom level for the table view.  
    Top
    Public Methods
     NameDescription
    Public Method Displays the Add Field GP tool.  
    Public Method Scroll the table grid to the desired row and field and set the active cell.  
    Public Method Clears all the frozen fields.  
    Public Method Clears the current highlight of the table view.  
    Public Method Clears the current selection of the table view.  
    Public Method Shows the custom field sort dialog.  
    Public Method Deletes the active field of the table view.  
    Public Method Deletes the highlighted rows.  
    Public Method Deletes the selected rows in the table view.  
    Public Method Shows the Export Talbe GP tool for exporting the attributes of the table view.  
    Public Method Shows the Find control.  
    Public Method Shows the Find and Replace control.  
    Public Method Get the object ids of all active pages. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Gets all the sorted object ids from the data source. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Gets the field at the given index.  
    Public Method Gets the index of the field with the given name.  
    Public MethodGets a read-only list of FieldDescription representing the columns in the table.  
    Public Method Gets the set of frozen fields in the table view.  
    Public Method Gets the set of hidden fields in the table view.  
    Public Method Gets all the highlighted object ids from the data source.  
    Public MethodGets the object id for a row in the current ViewMode of the table.  
    Public Method Loads the row count from the data source.  
    Public MethodGets the index of a row in the current ViewMode of the table. This method must be called on the MCT. Use QueuedTask.Run.  
    Public MethodGets the index of a row in the current ViewMode of the table.  
    Public Method Gets the set of selected fields in the table view.  
    Public Method Gets all the selected object ids from the data source. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Gets the indexes of all the selected rows. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Shows the Go to row number control.  
    Public Method Hides the selected fields of the table view.  
    Public Method Highlights rows in the table view.  
    Public Method Pans to the highlighted rows.  
    Public Method Pans to the selected rows in the table view.  
    Public Method Refreshes the content of the table view.  
    Public Method Resets the field order in the table view.  
    Public Method Selects rows in the table view. This method must be called on the MCT. Use QueuedTask.Run.  
    Public Method Selects all the rows in the table view.  
    Public MethodOverloaded.   
    Public Method Sets the field order in the table view according to the specified set of field names.  
    Public Method Sets the specified fields to be frozen in the table view. Frozen fields are promoted to be the first visible fields in the table view and stay visible as the table view is scrolled horizontally. A divider bar is placed between the frozen fields and the remaining fields in the table. The specified list of fields are added to any existing fields that are already frozen.  
    Public MethodSets the specified fields to be hidden in the table view UI. The specified list of fields are added to any existing fields that are already hidden. To display all fields use ShowAllFields.  
    Public Method Sets the specified fields to be selected in the table view.  
    Public Method Sets the view mode of the table view.  
    Public Method Set the zoom level for the table view. The allowed values are 50 to 400.  
    Public Method Shows all fields on the table view.  
    Public Method Sorts the values of the active field from lowest to highest.  
    Public Method Sorts the attributes in the table view.  
    Public Method Sorts the values of the active field from highest to lowest.  
    Public Method Switch the current highlight of the table view.  
    Public Method Switch the current selection of the table view.  
    Public Method Toggles between the field name and alias on the column headers of the table view.  
    Public Method Toggles the highlight of the active row of the table view.  
    Public Method Toggles the selection of the active row of the table view.  
    Public Method Toggles between the subtype and domain descriptions and codes in the colums of the table view.  
    Public Method Zooms to the highlighted rows.  
    Public Method Zooms to the selected rows in the table view.  
    Top
    See Also