TextBlock.HitTestCore(PointHitTestParameters) Method
Definition
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.
Returns a PointHitTestResult for specified PointHitTestParameters.
protected:
override System::Windows::Media::HitTestResult ^ HitTestCore(System::Windows::Media::PointHitTestParameters ^ hitTestParameters);
protected override sealed System.Windows.Media.HitTestResult HitTestCore (System.Windows.Media.PointHitTestParameters hitTestParameters);
override this.HitTestCore : System.Windows.Media.PointHitTestParameters -> System.Windows.Media.HitTestResult
Protected Overrides NotOverridable Function HitTestCore (hitTestParameters As PointHitTestParameters) As HitTestResult
Parameters
- hitTestParameters
- PointHitTestParameters
A PointHitTestParameters object specifying the parameters to hit test for.
Returns
A PointHitTestResult for the specified hit test parameters.
Exceptions
hitTestParameters
is null
.
Remarks
This method is intended to enable precise hit testing for rendered content.
This method overrides UIElement.HitTestCore.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.