Exemplo n.º 1
0
        public AutomationDataGridViewCell(AutomationDataGridView grid, AutomationDataGridViewRow row, DataGridViewCell cell)
        {
            if (grid == null)
            {
                throw new ArgumentNullException("grid");
            }

            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            if (cell == null)
            {
                throw new ArgumentNullException("cell");
            }

            _grid = grid;
            _row = row;
            _cell = cell;
        }
Exemplo n.º 2
0
        public AutomationDataGridViewHeaderCell(AutomationDataGridView grid, IRawElementProviderFragmentRoot parent, DataGridViewHeaderCell headerCell)
        {
            if (grid == null)
                throw new ArgumentNullException("grid");

            if (headerCell == null)
                throw new ArgumentNullException("headerCell");

            if (parent == null)
                throw new ArgumentNullException("parent");

            _grid = grid;
            _headerCell = headerCell;
            _parent = parent;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Class Constructor.
        /// </summary>
        /// <param name="grid"></param>
        /// <param name="row"></param>
        public AutomationDataGridViewRow(AutomationDataGridView grid, DataGridViewRow row)
        {
            if (grid == null)
            {
                throw new ArgumentNullException("grid");
            }

            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            _grid = grid;
            _row = row;

        }
Exemplo n.º 4
0
        /// <summary>
        /// Class Constructor.
        /// </summary>
        /// <param name="grid"></param>
        /// <param name="row"></param>
        public AutomationDataGridViewHeaderRow(AutomationDataGridView grid)
        {
            if (grid == null)
            {
                throw new ArgumentNullException("grid");
            }

            _grid = grid;
        }