UIElement.HitTestCore UIElement.HitTestCore UIElement.HitTestCore UIElement.HitTestCore Method

Definizione

Implementa HitTestCore(GeometryHitTestParameters) per fornire il comportamento di hit testing dell'elemento di base.Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior.

Overload

HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters)

Implementa HitTestCore(GeometryHitTestParameters) per fornire un comportamento di hit test degli elementi di base (restituendo GeometryHitTestResult).Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult).

HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters)

Implementa HitTestCore(PointHitTestParameters) per fornire un comportamento di hit test degli elementi di base (restituendo HitTestResult).Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult).

HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters)

Implementa HitTestCore(GeometryHitTestParameters) per fornire un comportamento di hit test degli elementi di base (restituendo 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

Parametri

hitTestParameters
GeometryHitTestParameters GeometryHitTestParameters GeometryHitTestParameters GeometryHitTestParameters

Descrive l'hit test da eseguire, incluso il punto iniziale per l'hit test.Describes the hit test to perform, including the initial hit point.

Restituisce

Risultati del test, inclusa la geometria valutata.Results of the test, including the evaluated geometry.

Commenti

Vedere il metodo Visual.HitTestCore virtuale originale per informazioni sull'override di questo metodo in altre classi derivate.See the original virtual method Visual.HitTestCore for information on overriding this method in further derived classes. Si noti che diversi controlliTextBlockspecifici, ad esempio, hanno implementazioni distinte che eseguono l'override di questa.Note that several specific controls (TextBlock, for example) do have distinct implementations, which override this one.

Questo metodo non deve essere chiamato dal codice dell'applicazione.This method is not intended to be called from your application code. Questo metodo supporta i comportamenti di hit test interni esposti da diversi aspetti del sistema di input (se il puntatore del mouse è posizionato su un elemento, ad esempio).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) HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters)

Implementa HitTestCore(PointHitTestParameters) per fornire un comportamento di hit test degli elementi di base (restituendo 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

Parametri

hitTestParameters
PointHitTestParameters PointHitTestParameters PointHitTestParameters PointHitTestParameters

Descrive l'hit test da eseguire, incluso il punto iniziale per l'hit test.Describes the hit test to perform, including the initial hit point.

Restituisce

Risultati del test, incluso il punto valutato.Results of the test, including the evaluated point.

Commenti

Vedere il metodo Visual.HitTestCore virtuale originale per informazioni sull'override di questo metodo in altre classi derivate.See the original virtual method Visual.HitTestCore for information on overriding this method in further derived classes. Si noti che diversi controlliTextBlockspecifici, ad esempio, hanno implementazioni distinte che eseguono l'override HitTestCore di come UIElementdefinito da.Note that several specific controls (TextBlock, for example) do have distinct implementations, which override HitTestCore as defined by UIElement.

Questo metodo non deve essere chiamato dal codice dell'applicazione.This method is not intended to be called from your application code. Questo metodo supporta i comportamenti di hit test interni esposti da diversi aspetti del sistema di input (se il puntatore del mouse è posizionato su un elemento, ad esempio).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).

Si applica a