ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / CanPanToHighlighted Property
Example

In This Topic
    CanPanToHighlighted Property (TableView)
    In This Topic
    Determines if the table can pan to the highlighted rows. The table view must be showing the Selected Records view.
    Syntax
    Public ReadOnly Property CanPanToHighlighted As Boolean
    public bool CanPanToHighlighted {get;}
    Example
    Zoom or Pan To Highlighted Rows
    {
      if (tableView.CanZoomToHighlighted)
        tableView.ZoomToHighlighted();
    
      if (tableView.CanPanToHighlighted)
        tableView.PanToHighlighted();
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.1 or higher.
    See Also