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

In This Topic
    CanZoomToHighlighted Property (TableView)
    In This Topic
    Determines if the table can zoom to the highlighted rows. The table view must be showing the Selected Records view.
    Syntax
    Public ReadOnly Property CanZoomToHighlighted As Boolean
    public bool CanZoomToHighlighted {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