Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior.
HitTestCore(GeometryHitTestParameters) |
Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult). |
HitTestCore(PointHitTestParameters) |
Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult). |
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
Describes the hit test to perform, including the initial hit point.
Results of the test, including the evaluated geometry.
See the original virtual method Visual.HitTestCore for information on overriding this method in further derived classes. Note that several specific controls (TextBlock, for example) do have distinct implementations, which override this one.
This method is not intended to be called from your application code. 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).
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
Describes the hit test to perform, including the initial hit point.
Results of the test, including the evaluated point.
See the original virtual method Visual.HitTestCore for information on overriding this method in further derived classes. Note that several specific controls (TextBlock, for example) do have distinct implementations, which override HitTestCore as defined by UIElement.
This method is not intended to be called from your application code. 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).
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Please sign in to use this experience.
Sign in