public TableRowProvider(AutomationProvider parent, RowInformation rowInformation)
            : base(parent, SelectionItemPattern.Pattern)
        {
            _rowInformation = rowInformation;
            Name = rowInformation.Value;
            ControlType = ControlType.DataItem;

            rowInformation.Cells.ForEach(x => AddChild(new TableCellProvider(this, x)));

            SetPropertyValue(AutomationElementIdentifiers.IsOffscreenProperty.Id, () => !rowInformation.IsVisible);
        }
        public void SetUp()
        {
            SetupTheTable();

            _rowInformation = DataGridRowInformation.FromRow(_dataGridRow);
        }