初始化 RibbonTextBoxAutomationPeer 类的新实例。
命名空间: Microsoft.Windows.Automation.Peers
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public Sub New ( _
owner As RibbonTextBox _
)
public RibbonTextBoxAutomationPeer(
RibbonTextBox owner
)
public:
RibbonTextBoxAutomationPeer(
RibbonTextBox^ owner
)
new :
owner:RibbonTextBox -> RibbonTextBoxAutomationPeer
public function RibbonTextBoxAutomationPeer(
owner : RibbonTextBox
)
参数
- owner
类型:Microsoft.Windows.Controls.Ribbon.RibbonTextBox
与此自动同级相关联的元素。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。