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)); });
System.Object
ArcGIS.Desktop.Core.TableOptions
Target Platforms: Windows 11, Windows 10