ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / TableRowHeightType Enumeration
Example Example Version

TableRowHeightType Enumeration
Represents the height of rows in the table view.
Syntax
Members
MemberDescription
Double The row will display two lines of text.
None No row height.
Single The row will display one line of text.
Triple The row will display three lines of text.
Example
Get/Set Table Options
var options = ApplicationOptions.TableOptions;

var hideAddNewRow = options.HideAddNewRow;
options.HideAddNewRow = !hideAddNewRow;

var overrides = options.HonorSelectionColorOverrides;
options.HonorSelectionColorOverrides = !overrides;

var activateMapView = options.ActivateMapViewAfterOperations;
options.ActivateMapViewAfterOperations = !activateMapView;

var defaultFontTName = options.DefaultFontName;
var fontName = options.FontName;
if (options.IsValidFontName("Arial"))
  options.FontName = "Arial";

var defaultFontSize = options.DefaultFontSize;
var fontSize = options.FontSize;
if (options.IsValidFontSize(10))
  options.FontSize = 10;

var heightType = options.ColumnHeaderHeightType;
options.ColumnHeaderHeightType = TableRowHeightType.Double;

var rowHeightType = options.RowHeightType;
options.RowHeightType = TableRowHeightType.Single;

var defaultColor = options.DefaultHighlightColor;
var color = options.HighlightColor;
QueuedTask.Run(() =>
{
  options.SetHighlightColor(ColorFactory.Instance.CreateRGBColor(0, 0, 255));
});
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ArcGIS.Core.CIM.TableRowHeightType

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also