語言

SourceChangedEventArgs 建構函式

定義

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

多載

名稱 Description
SourceChangedEventArgs(PresentationSource, PresentationSource)

初始化該類別的新實例 SourceChangedEventArgs ,利用舊有與新來源的資訊。

SourceChangedEventArgs(PresentationSource, PresentationSource, IInputElement, IInputElement)

初始化該類別的新實例 SourceChangedEventArgs ,使用舊有與新來源的資訊、受影響元素,以及該元素先前報告的父節點。

SourceChangedEventArgs(PresentationSource, PresentationSource)

初始化該類別的新實例 SourceChangedEventArgs ,利用舊有與新來源的資訊。

public:
 SourceChangedEventArgs(System::Windows::PresentationSource ^ oldSource, System::Windows::PresentationSource ^ newSource);
[System.Security.SecurityCritical]
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource);
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource);
[<System.Security.SecurityCritical>]
new System.Windows.SourceChangedEventArgs : System.Windows.PresentationSource * System.Windows.PresentationSource -> System.Windows.SourceChangedEventArgs
new System.Windows.SourceChangedEventArgs : System.Windows.PresentationSource * System.Windows.PresentationSource -> System.Windows.SourceChangedEventArgs
Public Sub New (oldSource As PresentationSource, newSource As PresentationSource)

參數

oldSource
PresentationSource

那個舊 PresentationSource 的,這個操控者正被通知。

newSource
PresentationSource

這個聯絡人正在被通知的新消息 PresentationSource 。

屬性

適用於

SourceChangedEventArgs(PresentationSource, PresentationSource, IInputElement, IInputElement)

初始化該類別的新實例 SourceChangedEventArgs ,使用舊有與新來源的資訊、受影響元素,以及該元素先前報告的父節點。

public:
 SourceChangedEventArgs(System::Windows::PresentationSource ^ oldSource, System::Windows::PresentationSource ^ newSource, System::Windows::IInputElement ^ element, System::Windows::IInputElement ^ oldParent);
[System.Security.SecurityCritical]
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource, System.Windows.IInputElement element, System.Windows.IInputElement oldParent);
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource, System.Windows.IInputElement element, System.Windows.IInputElement oldParent);
[<System.Security.SecurityCritical>]
new System.Windows.SourceChangedEventArgs : System.Windows.PresentationSource * System.Windows.PresentationSource * System.Windows.IInputElement * System.Windows.IInputElement -> System.Windows.SourceChangedEventArgs
new System.Windows.SourceChangedEventArgs : System.Windows.PresentationSource * System.Windows.PresentationSource * System.Windows.IInputElement * System.Windows.IInputElement -> System.Windows.SourceChangedEventArgs
Public Sub New (oldSource As PresentationSource, newSource As PresentationSource, element As IInputElement, oldParent As IInputElement)

參數

oldSource
PresentationSource

那個舊 PresentationSource 的,這個操控者正被通知。

newSource
PresentationSource

這個聯絡人正在被通知的新消息 PresentationSource 。

element
IInputElement

父元素的改變導致來源改變。

oldParent
IInputElement

是該元素的舊父節點,而其父節點改變,導致源頭改變。

屬性

適用於