DataGridRow.OnCreateAutomationPeer 方法

定义

返回此行的新 DataGridRowAutomationPeer

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

返回

AutomationPeer

此行的新自动化对等方。

适用于

另请参阅