UIElement.ManipulationStarted Zdarzenie

Definicja

Występuje, gdy urządzenie wejściowe rozpoczyna manipulowanie obiektem UIElement .

public:
 event EventHandler<System::Windows::Input::ManipulationStartedEventArgs ^> ^ ManipulationStarted;
public event EventHandler<System.Windows.Input.ManipulationStartedEventArgs> ManipulationStarted;
member this.ManipulationStarted : EventHandler<System.Windows.Input.ManipulationStartedEventArgs> 
Public Custom Event ManipulationStarted As EventHandler(Of ManipulationStartedEventArgs) 

Typ zdarzenia

Uwagi

Zdarzenie ManipulationStarted występuje po zdarzeniu ManipulationStarting . Możesz wykonać następujące czynności za pomocą polecenia ManipulationStartedEventArgs:

  • Pobierz element, z którego jest względna pozycja manipulacji przy użyciu ManipulationContainer właściwości .

  • Pobierz źródło manipulacji przy użyciu ManipulationOrigin właściwości .

  • Anuluj manipulację, wywołując metodę Complete .

Aby uzyskać więcej informacji na temat manipulacji, zobacz Omówienie danych wejściowych. Przykład aplikacji, która reaguje na manipulacje, zobacz Przewodnik: tworzenie pierwszej aplikacji dotykowej.

Informacje dotyczące kierowanego zdarzenia

Pole identyfikatora ManipulationStartedEvent
Strategia routingu Propagacji
Delegat EventHandler<TEventArgs> typu ManipulationStartedEventArgs.

Dotyczy