执行命中测试。
Demonstrates hit testing and clipping with regions.
示范点击测试和裁剪区域。
Two common USES for regions are hit testing and clipping.
区域的两个常见用途是命中检测和剪辑。
Elements that are not visible do not participate in hit testing and do not receive input events, even if the mouse is over the bounds where the element would be if were visible.
不可见的元素不参与命中测试并且不接收输入事件,即使鼠标放在该元素可见时的边界上也如此。
Hit Testing in the Visual Layer.
可视化层中的命中测试。
Hit testing: Determining whether a specified coordinate (point) or geometry is contained within the bounds of a visual.
命中测试:确定指定的坐标(点)或几何图形是否包含在可视对象的边界内。
Provides services and properties that are common to all visual objects, including hit-testing, coordinate transformation, and bounding-box calculations.
提供所有可视对象通用的服务和属性,其中包括命中测试、坐标转换和边界框计算。
This method is useful for applications that obtain references to UI Automation elements by hit-testing.
此方法对于通过点击测试获取对UI自动化元素的引用的应用程序很有用。
By contrast, a WPF list box is not a framework, because the rendering and hit-testing is being handled by the containing WPF window.
相反,WPF列表框不是框架,因为呈现和命中测试操作是由包含列表框的WPF窗口处理的。
The topics in this section demonstrate how to use the visual layer for hit-testing and low-level composition.
本节中的主题演示如何使用可视层进行命中测试和低级别组合。
The topics in this section demonstrate how to use the visual layer for hit-testing and low-level composition.
本节中的主题演示如何使用可视层进行命中测试和低级别组合。
应用推荐