Compartilhar via


UIElement.ManipulationStarted Evento

Definição

Ocorre quando um dispositivo de entrada inicia uma manipulação no UIElement objeto.

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) 

Tipo de evento

Comentários

O ManipulationStarted evento ocorre após o ManipulationStarting evento. Você pode fazer o seguinte com :ManipulationStartedEventArgs

  • Obtenha o elemento ao qual a posição da manipulação é relativa usando a ManipulationContainer propriedade.

  • Obtenha a origem da manipulação usando a ManipulationOrigin propriedade.

  • Cancele a manipulação chamando o Complete método.

Para obter mais informações sobre manipulações, consulte a Visão Geral de Entrada. Para obter um exemplo de um aplicativo que responde a manipulações, consulte Passo a passo: criando seu primeiro aplicativo touch.

Informações do evento roteado

Item Valor
Campo identificador ManipulationStartedEvent
Estratégia de roteamento Borbulhando
Delegado EventHandler<TEventArgs> do tipo ManipulationStartedEventArgs.

Aplica-se a