SourceChangedEventArgs Konstruktorer

Definition

Initierar en ny instans av SourceChangedEventArgs klassen.

Överlagringar

Name Description
SourceChangedEventArgs(PresentationSource, PresentationSource)

Initierar en ny instans av klassen med hjälp av SourceChangedEventArgs angiven information för de gamla och nya källorna.

SourceChangedEventArgs(PresentationSource, PresentationSource, IInputElement, IInputElement)

Initierar en ny instans av klassen med hjälp av SourceChangedEventArgs angiven information för de gamla och nya källorna, elementet som ändringen påverkar och det tidigare rapporterade överordnade elementet.

SourceChangedEventArgs(PresentationSource, PresentationSource)

Initierar en ny instans av klassen med hjälp av SourceChangedEventArgs angiven information för de gamla och nya källorna.

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)

Parametrar

oldSource
PresentationSource

Det gamla PresentationSource som den här hanteraren meddelas om.

newSource
PresentationSource

Det nya PresentationSource som den här hanteraren meddelas om.

Attribut

Gäller för

SourceChangedEventArgs(PresentationSource, PresentationSource, IInputElement, IInputElement)

Initierar en ny instans av klassen med hjälp av SourceChangedEventArgs angiven information för de gamla och nya källorna, elementet som ändringen påverkar och det tidigare rapporterade överordnade elementet.

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)

Parametrar

oldSource
PresentationSource

Det gamla PresentationSource som den här hanteraren meddelas om.

newSource
PresentationSource

Det nya PresentationSource som den här hanteraren meddelas om.

element
IInputElement

Elementet vars överordnade ändrades vilket gjorde att källan ändrades.

oldParent
IInputElement

Den gamla överordnade delen av elementet vars överordnade ändrades och som gjorde att källan ändrades.

Attribut

Gäller för