ISynchronizedInputProvider.StartListening(SynchronizedInputType) Method
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.
Designates that the provider start listening for input of the specified type.
public:
void StartListening(System::Windows::Automation::SynchronizedInputType inputType);
public void StartListening (System.Windows.Automation.SynchronizedInputType inputType);
abstract member StartListening : System.Windows.Automation.SynchronizedInputType -> unit
Public Sub StartListening (inputType As SynchronizedInputType)
Parameters
- inputType
- SynchronizedInputType
The type of input to listen for.
Remarks
When WPF finds matching input, it checks the route of the incoming event. If the automation element that is listening for the input is not in the route, the input is discarded and the InputDiscardedEvent event is raised. If the input is received by the automation element listening for that type, the InputReachedTargetEvent event is raised; otherwise, the InputReachedOtherElementEvent event is raised.
After receiving the input, the provider stops listening and continues normally.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru