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

其父级更改导致源更改的元素的旧父级。

属性

适用于