// Token: 0x0600360E RID: 13838 RVA: 0x000F4DC8 File Offset: 0x000F2FC8 internal void OnStructureChanged() { if (!this._initializing) { if (this.TableStructureChanged != null) { this.TableStructureChanged(this, EventArgs.Empty); } this.ValidateStructure(); TableAutomationPeer tableAutomationPeer = ContentElementAutomationPeer.FromElement(this) as TableAutomationPeer; if (tableAutomationPeer != null) { tableAutomationPeer.OnStructureInvalidated(); } } }
/// <summary> /// OnStructureChanged - Called to rebuild structure. /// </summary> internal void OnStructureChanged() { if (!_initializing) { if (TableStructureChanged != null) { TableStructureChanged(this, EventArgs.Empty); } ValidateStructure(); // Table structure changes affect number of rows and colums. Need to notify peer about it. TableAutomationPeer peer = ContentElementAutomationPeer.FromElement(this) as TableAutomationPeer; if (peer != null) { peer.OnStructureInvalidated(); } } }