Uredi

Deli z drugimi prek


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.

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)

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

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.

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)

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