ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / GetFrozenFields Method
Example

In This Topic
    GetFrozenFields Method (TableView)
    In This Topic
    Gets the set of frozen fields in the table view.
    Syntax
    public IReadOnlyList<string> GetFrozenFields()
    Public Function GetFrozenFields() As IReadOnlyList(Of String)
    Example
    Freeze Fields
    var tv = TableView.Active;
    if (tv == null)
      return;
    
    // get list of frozen fields
    var frozenfields = tv.GetFrozenFields();
    
    // un freeze all fields
    await tv.ClearAllFrozenFieldsAsync();
    
    
    // freeze a set of fields
    await tv.SetFrozenFieldsAsync(new List<string> { "CITY_FIPS", "STATE_FIPS" });
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also