ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMTableView Class / HighlightInvalidContingentValueFields Property
Example

In This Topic
    HighlightInvalidContingentValueFields Property
    In This Topic
    Gets or sets a value indicating whether invalid contingent value fields should be highlighted in the table.
    Syntax
    public bool HighlightInvalidContingentValueFields {get; set;}
    Public Property HighlightInvalidContingentValueFields As Boolean
    Example
    Display Table pane for Map Member
    var mapMember = MapView.Active.Map.GetLayersAsFlattenedList().OfType<MapMember>().FirstOrDefault();
    //Gets or creates the CIMMapTableView for a MapMember.
    var tableView = FrameworkApplication.Panes.GetMapTableView(mapMember);
    //Configure the table view
    tableView.DisplaySubtypeDomainDescriptions = false;
    tableView.SelectionMode = false;
    tableView.ShowOnlyContingentValueFields = true;
    tableView.HighlightInvalidContingentValueFields = true;
    //Open the table pane using the configured tableView. If a table pane is already open it will be activated.
    //You must be on the UI thread to call this function.
    var tablePane = FrameworkApplication.Panes.OpenTablePane(tableView);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also