SourceChangedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기