SourceChangedEventArgs 建構函式

定義

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

多載

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

其父代發生變更導致來源變更之項目的舊父代。

屬性

適用於