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

In This Topic
    CanToggleFieldAlias Property (TableView)
    In This Topic
    Determines if the table view can toggle the field name and alias.
    Syntax
    Public ReadOnly Property CanToggleFieldAlias As Boolean
    public bool CanToggleFieldAlias {get;}
    Example
    Toggle Field Alias
    {
      // set the value
      tableView.ShowFieldAlias = true;
    
      // OR toggle it
      if (tableView.CanToggleFieldAlias)
        tableView.ToggleFieldAlias();
    }
    Requirements

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

    ArcGIS Pro version: 3.1 or higher.
    See Also