SourceChangedEventArgs Constructors

Definition

Initializes a new instance of the SourceChangedEventArgs class.

Overloads

SourceChangedEventArgs(PresentationSource, PresentationSource)

Initializes a new instance of the SourceChangedEventArgs class, using supplied information for the old and new sources.

SourceChangedEventArgs(PresentationSource, PresentationSource, IInputElement, IInputElement)

Initializes a new instance of the SourceChangedEventArgs class, using supplied information for the old and new sources, the element that this change effects, and the previous reported parent of that element.

SourceChangedEventArgs(PresentationSource, PresentationSource)

Initializes a new instance of the SourceChangedEventArgs class, using supplied information for the old and new sources.

C#
[System.Security.SecurityCritical]
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource);
C#
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource);

Parameters

oldSource
PresentationSource

The old PresentationSource that this handler is being notified about.

newSource
PresentationSource

The new PresentationSource that this handler is being notified about.

Attributes

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SourceChangedEventArgs(PresentationSource, PresentationSource, IInputElement, IInputElement)

Initializes a new instance of the SourceChangedEventArgs class, using supplied information for the old and new sources, the element that this change effects, and the previous reported parent of that element.

C#
[System.Security.SecurityCritical]
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource, System.Windows.IInputElement element, System.Windows.IInputElement oldParent);
C#
public SourceChangedEventArgs(System.Windows.PresentationSource oldSource, System.Windows.PresentationSource newSource, System.Windows.IInputElement element, System.Windows.IInputElement oldParent);

Parameters

oldSource
PresentationSource

The old PresentationSource that this handler is being notified about.

newSource
PresentationSource

The new PresentationSource that this handler is being notified about.

element
IInputElement

The element whose parent changed causing the source to change.

oldParent
IInputElement

The old parent of the element whose parent changed causing the source to change.

Attributes

Applies to

.NET Framework 4.8.1 ja muut versiot
Tuote Versiot
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10