/// <summary>Initializes a new instance of the <see cref="T:System.Windows.Automation.Peers.DataGridItemAutomationPeer" /> class. </summary>
 /// <param name="item">The data item in the <see cref="P:System.Windows.Controls.ItemsControl.Items" /> collection that is associated with this <see cref="T:System.Windows.Automation.Peers.DataGridItemAutomationPeer" />.</param>
 /// <param name="dataGridPeer">The <see cref="T:System.Windows.Automation.Peers.DataGridAutomationPeer" /> that is associated with the <see cref="T:System.Windows.Controls.DataGrid" /> that holds the <see cref="P:System.Windows.Controls.ItemsControl.Items" /> collection.</param>
 // Token: 0x060025E3 RID: 9699 RVA: 0x000B5730 File Offset: 0x000B3930
 public DataGridItemAutomationPeer(object item, DataGridAutomationPeer dataGridPeer) : base(item, dataGridPeer)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     if (dataGridPeer == null)
     {
         throw new ArgumentNullException("dataGridPeer");
     }
     this._dataGridAutomationPeer = dataGridPeer;
 }
        /// <summary>
        /// AutomationPeer for an item in a DataGrid
        /// </summary>
        public DataGridItemAutomationPeer(object item, DataGridAutomationPeer dataGridPeer): base(item, dataGridPeer)
        {
            if (item == null)
            {
                throw new ArgumentNullException("item");
            }

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

            _item = item;
            _dataGridAutomationPeer = dataGridPeer;
        }
 /// <summary>Retrieves a collection of UI Automation providers representing all the row headers associated with a table item or cell.</summary>
 /// <returns>A collection of UI Automation providers. </returns>
 // Token: 0x060025A7 RID: 9639 RVA: 0x000B4CE0 File Offset: 0x000B2EE0
 IRawElementProviderSimple[] ITableItemProvider.GetRowHeaderItems()
 {
     if (this.OwningDataGrid != null && (this.OwningDataGrid.HeadersVisibility & DataGridHeadersVisibility.Row) == DataGridHeadersVisibility.Row)
     {
         DataGridAutomationPeer     dataGridAutomationPeer     = UIElementAutomationPeer.CreatePeerForElement(this.OwningDataGrid) as DataGridAutomationPeer;
         DataGridItemAutomationPeer dataGridItemAutomationPeer = dataGridAutomationPeer.FindOrCreateItemAutomationPeer(this.Item) as DataGridItemAutomationPeer;
         if (dataGridItemAutomationPeer != null)
         {
             AutomationPeer rowHeaderAutomationPeer = dataGridItemAutomationPeer.RowHeaderAutomationPeer;
             if (rowHeaderAutomationPeer != null)
             {
                 return(new List <IRawElementProviderSimple>(1)
                 {
                     base.ProviderFromPeer(rowHeaderAutomationPeer)
                 }.ToArray());
             }
         }
     }
     return(null);
 }
 public DataGridItemAutomationPeer(Object item, DataGridAutomationPeer dataGridPeer) : base (default(Object), default(ItemsControlAutomationPeer))
 {
 }
 public DataGridItemAutomationPeer(Object item, DataGridAutomationPeer dataGridPeer) : base(default(Object), default(ItemsControlAutomationPeer))
 {
 }