ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / CanDeleteHighlighted Property
Example

In This Topic
    CanDeleteHighlighted Property (TableView)
    In This Topic
    Determines if the table can delete the highlighted rows. The table view must be showing the Selected Records view.
    Syntax
    public bool CanDeleteHighlighted {get;}
    Public ReadOnly Property CanDeleteHighlighted As Boolean
    Example
    Delete Highlighted Rows
    var tv = TableView.Active;
    if (tv == null)
      return;
    
    if (tv.CanDeleteHighlighted)
      tv.DeleteHighlighted();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also