共用方式為


TextBlockAutomationPeer(TextBlock) 建構函式

定義

初始化 TextBlockAutomationPeer 類別的新執行個體。

public:
 TextBlockAutomationPeer(System::Windows::Controls::TextBlock ^ owner);
public TextBlockAutomationPeer (System.Windows.Controls.TextBlock owner);
new System.Windows.Automation.Peers.TextBlockAutomationPeer : System.Windows.Controls.TextBlock -> System.Windows.Automation.Peers.TextBlockAutomationPeer
Public Sub New (owner As TextBlock)

參數

owner
TextBlock

與這個 TextBlockAutomationPeer 關聯的 TextBlock

適用於

另請參閱