Basic Library for UWP
CreateAutomationPeer(Object,Type,Control) メソッド

C1.UWP アセンブリ > C1.Xaml 名前空間 > AutomationPeerFactory クラス > CreateAutomationPeer メソッド : CreateAutomationPeer(Object,Type,Control) メソッド
オーナーコントロール。
オーナーコントロールのタイプ。
所有側のセレクタコントロールの参照。AutomationPeer が SelectorItemAutomationPeer を継承している場合、必須です。
指定された C1 コントロールの AutomationPeer クラスのインスタンスを返します。
シンタックス
'宣言
 
Public Overloads Shared Function CreateAutomationPeer( _
   ByVal peerOwner As System.Object, _
   ByVal ownerType As System.Type, _
   ByVal owningSelectorControl As Windows.UI.Xaml.Controls.Control _
) As Windows.UI.Xaml.Automation.Peers.AutomationPeer
public static Windows.UI.Xaml.Automation.Peers.AutomationPeer CreateAutomationPeer( 
   System.object peerOwner,
   System.Type ownerType,
   Windows.UI.Xaml.Controls.Control owningSelectorControl
)

パラメータ

peerOwner
オーナーコントロール。
ownerType
オーナーコントロールのタイプ。
owningSelectorControl
所有側のセレクタコントロールの参照。AutomationPeer が SelectorItemAutomationPeer を継承している場合、必須です。

戻り値の型

オートメーションピアオブジェクト。
参照

AutomationPeerFactory クラス
AutomationPeerFactory メンバ
オーバーロード一覧