AutomationPeer.EventsSource プロパティ

定義

この AutomationPeer から取得されるすべてのイベントのソースとしてオートメーション クライアントに報告される AutomationPeer を取得または設定します。 「解説」を参照してください。

public:
 property AutomationPeer ^ EventsSource { AutomationPeer ^ get(); void set(AutomationPeer ^ value); };
AutomationPeer EventsSource();

void EventsSource(AutomationPeer value);
public AutomationPeer EventsSource { get; set; }
var automationPeer = automationPeer.eventsSource;
automationPeer.eventsSource = automationPeer;
Public Property EventsSource As AutomationPeer

プロパティ値

イベントのソースである AutomationPeer

注釈

EventsSource は通常、オートメーション プロバイダー要素がピアを持つ別の要素の子要素であり、クライアントにとって最適なオートメーション エクスペリエンスは、オートメーション イベントのソースとして親を扱う場合に AutomationPeer 実装によって設定されます。 このような場合、子要素のピア実装は、親要素の AutomationPeer を返すように EventsSource を設定します。

適用対象