ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / PanToSelected Method
Example

In This Topic
    PanToSelected Method (TableView)
    In This Topic
    Pans to the selected rows in the table view.
    Syntax
    public void PanToSelected()
    Public Sub PanToSelected() 
    Example
    Zoom or Pan To Selected Rows
    var tv = TableView.Active;
    if (tv == null)
      return;
    
    if (tv.CanZoomToSelected)
      tv.ZoomToSelected();
    
    if (tv.CanPanToSelected)
      tv.PanToSelected();
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also