ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / ShowFieldAlias Property
Example

In This Topic
    ShowFieldAlias Property (TableView)
    In This Topic
    Gets and sets the current state of displaying the field alias.
    Syntax
    public bool ShowFieldAlias {get; set;}
    Public Property ShowFieldAlias As Boolean
    Example
    Toggle Field Alias
    //Get the active table view.
    var tableView = TableView.Active;
    if (tableView == null)
      return;
    
    
    // set the value
    tableView.ShowFieldAlias = true;
    
    // OR toggle it
    if (tableView.CanToggleFieldAlias)
      tableView.ToggleFieldAlias();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also