![](dotnetdiagramimages/image581.png)
public class CIMTableFrame : CIMMapSurround, System.ComponentModel.INotifyPropertyChanged, System.Xml.Serialization.IXmlSerializable
Public Class CIMTableFrame Inherits CIMMapSurround Implements System.ComponentModel.INotifyPropertyChanged, System.Xml.Serialization.IXmlSerializable
//Modify an existing tableframe using CIM properties. //Reference the active layout Layout layout = LayoutView.Active.Layout; //Perform on the worker thread await QueuedTask.Run(() => { //Reference table frame TableFrame TF = layout.FindElement("Table Frame") as TableFrame; //Modify CIM properties CIMTableFrame cimTF = TF.GetDefinition() as CIMTableFrame; cimTF.Alternate1RowBackgroundCount = 1; cimTF.Alternate2RowBackgroundCount = 1; //Apply the changes TF.SetDefinition(cimTF); });
System.Object
ArcGIS.Core.CIM.CIMObject
ArcGIS.Core.CIM.CIMElement
ArcGIS.Core.CIM.CIMFrameElement
ArcGIS.Core.CIM.CIMMapSurround
ArcGIS.Core.CIM.CIMTableFrame
Target Platforms: Windows 11, Windows 10