ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TableView Class / ToggleSubtypeDomainDescriptionsAsync Method
Example

In This Topic
    ToggleSubtypeDomainDescriptionsAsync Method (TableView)
    In This Topic
    Toggles between the subtype and domain descriptions and codes in the colums of the table view.
    Syntax
    public Task ToggleSubtypeDomainDescriptionsAsync()
    Public Function ToggleSubtypeDomainDescriptionsAsync() As Task
    Example
    Toggle Subtype Descriptions
    //Get the active table view.
    var tableView = TableView.Active;
    if (tableView == null)
      return;
    
    
    // set the value
    tableView.ShowSubtypeDomainDescriptions = true;
    
    // OR toggle it
    if (tableView.CanToggleSubtypeDomainDescriptions)
      tableView.ToggleSubtypeDomainDescriptionsAsync();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also