UIElement.HitTestCore Método

Definição

Implementa HitTestCore(GeometryHitTestParameters) para fornecer o comportamento do teste de clique do elemento base.Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior.

Sobrecargas

HitTestCore(GeometryHitTestParameters)

Implementa HitTestCore(GeometryHitTestParameters) para fornecer o comportamento do teste de clique do elemento base (retornando GeometryHitTestResult).Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult).

HitTestCore(PointHitTestParameters)

Implementa HitTestCore(PointHitTestParameters) para fornecer o comportamento do teste de clique do elemento base (retornando HitTestResult).Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult).

HitTestCore(GeometryHitTestParameters)

Implementa HitTestCore(GeometryHitTestParameters) para fornecer o comportamento do teste de clique do elemento base (retornando GeometryHitTestResult).Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult).

protected:
 override System::Windows::Media::GeometryHitTestResult ^ HitTestCore(System::Windows::Media::GeometryHitTestParameters ^ hitTestParameters);
protected override System.Windows.Media.GeometryHitTestResult HitTestCore (System.Windows.Media.GeometryHitTestParameters hitTestParameters);
override this.HitTestCore : System.Windows.Media.GeometryHitTestParameters -> System.Windows.Media.GeometryHitTestResult
Protected Overrides Function HitTestCore (hitTestParameters As GeometryHitTestParameters) As GeometryHitTestResult

Parâmetros

hitTestParameters
GeometryHitTestParameters

Descreve o teste de clique a ser executado, incluindo o ponto de clique inicial.Describes the hit test to perform, including the initial hit point.

Retornos

Resultados do teste, incluindo a geometria avaliada.Results of the test, including the evaluated geometry.

Comentários

Consulte o método virtual original Visual.HitTestCore para obter informações sobre como substituir esse método em classes derivadas posteriores.See the original virtual method Visual.HitTestCore for information on overriding this method in further derived classes. Observe que vários controles específicos (TextBlock, por exemplo) têm implementações distintas, que substituem esse.Note that several specific controls (TextBlock, for example) do have distinct implementations, which override this one.

Este método não deve ser chamado a partir do código do aplicativo.This method is not intended to be called from your application code. Esse método dá suporte a comportamentos de teste de clique interno que são expostos por vários aspectos do sistema de entrada (se o ponteiro do mouse está sobre um elemento, por exemplo).This method supports internal hit testing behaviors that are exposed by various aspects of the input system (whether the mouse pointer is over an element, for example).

HitTestCore(PointHitTestParameters)

Implementa HitTestCore(PointHitTestParameters) para fornecer o comportamento do teste de clique do elemento base (retornando HitTestResult).Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult).

protected:
 override System::Windows::Media::HitTestResult ^ HitTestCore(System::Windows::Media::PointHitTestParameters ^ hitTestParameters);
protected override System.Windows.Media.HitTestResult HitTestCore (System.Windows.Media.PointHitTestParameters hitTestParameters);
override this.HitTestCore : System.Windows.Media.PointHitTestParameters -> System.Windows.Media.HitTestResult
Protected Overrides Function HitTestCore (hitTestParameters As PointHitTestParameters) As HitTestResult

Parâmetros

hitTestParameters
PointHitTestParameters

Descreve o teste de clique a ser executado, incluindo o ponto de clique inicial.Describes the hit test to perform, including the initial hit point.

Retornos

Resultados do teste, incluindo o ponto avaliado.Results of the test, including the evaluated point.

Comentários

Consulte o método virtual original Visual.HitTestCore para obter informações sobre como substituir esse método em classes derivadas posteriores.See the original virtual method Visual.HitTestCore for information on overriding this method in further derived classes. Observe que vários controles específicos (TextBlock, por exemplo) têm implementações distintas, que substituem HitTestCore conforme definido pelo UIElement.Note that several specific controls (TextBlock, for example) do have distinct implementations, which override HitTestCore as defined by UIElement.

Este método não deve ser chamado a partir do código do aplicativo.This method is not intended to be called from your application code. Esse método dá suporte a comportamentos de teste de clique interno que são expostos por vários aspectos do sistema de entrada (se o ponteiro do mouse está sobre um elemento, por exemplo).This method supports internal hit testing behaviors that are exposed by various aspects of the input system (whether the mouse pointer is over an element, for example).

Aplica-se a