ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / ClearAllFrozenFieldsAsync Method
Example

In This Topic
    ClearAllFrozenFieldsAsync Method (TableView)
    In This Topic
    Clears all the frozen fields.
    Syntax
    public Task ClearAllFrozenFieldsAsync()
    Public Function ClearAllFrozenFieldsAsync() As Task
    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