-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
PointHitTestParameters.xml
121 lines (113 loc) · 7.34 KB
/
PointHitTestParameters.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<Type Name="PointHitTestParameters" FullName="System.Windows.Media.PointHitTestParameters">
<TypeSignature Language="C#" Value="public class PointHitTestParameters : System.Windows.Media.HitTestParameters" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit PointHitTestParameters extends System.Windows.Media.HitTestParameters" />
<TypeSignature Language="DocId" Value="T:System.Windows.Media.PointHitTestParameters" />
<TypeSignature Language="VB.NET" Value="Public Class PointHitTestParameters
Inherits HitTestParameters" />
<TypeSignature Language="F#" Value="type PointHitTestParameters = class
 inherit HitTestParameters" />
<TypeSignature Language="C++ CLI" Value="public ref class PointHitTestParameters : System::Windows::Media::HitTestParameters" />
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Media.HitTestParameters</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Specifies a <see cref="T:System.Windows.Point" /> as the parameter to be used for hit testing of a visual object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Media.PointHitTestParameters> class is for discrete coordinate hit testing, such as might be returned by a device. You can also hit test with a <xref:System.Windows.Media.Geometry> by creating a <xref:System.Windows.Media.GeometryHitTestParameters> object.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PointHitTestParameters (System.Windows.Point point);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Windows.Point point) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.PointHitTestParameters.#ctor(System.Windows.Point)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (point As Point)" />
<MemberSignature Language="F#" Value="new System.Windows.Media.PointHitTestParameters : System.Windows.Point -> System.Windows.Media.PointHitTestParameters" Usage="new System.Windows.Media.PointHitTestParameters point" />
<MemberSignature Language="C++ CLI" Value="public:
 PointHitTestParameters(System::Windows::Point point);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="point" Type="System.Windows.Point" />
</Parameters>
<Docs>
<param name="point">The parameter that is specified as the <see cref="T:System.Windows.Point" /> value.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.PointHitTestParameters" /> class, using a <see cref="T:System.Windows.Point" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to invoke <xref:System.Windows.Media.VisualTreeHelper.HitTest%2A> by using a <xref:System.Windows.Media.PointHitTestParameters> value.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/Window1.xaml.cs" id="Snippet101":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/HitTestingOverview/visualbasic/window1.xaml.vb" id="Snippet101":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="HitPoint">
<MemberSignature Language="C#" Value="public System.Windows.Point HitPoint { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Point HitPoint" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.PointHitTestParameters.HitPoint" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property HitPoint As Point" />
<MemberSignature Language="F#" Value="member this.HitPoint : System.Windows.Point" Usage="System.Windows.Media.PointHitTestParameters.HitPoint" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Point HitPoint { System::Windows::Point get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Point</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Windows.Point" /> against which to hit test.</summary>
<value>The <see cref="T:System.Windows.Point" /> against which to hit test.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to override default hit test support in a user-defined visual object. In this case, the <xref:System.Windows.Media.PointHitTestParameters.HitPoint%2A> value is simply returned as part of <xref:System.Windows.Media.PointHitTestResult>.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Media/GeometryHitTestParameters/Overview/Window1.xaml.cs" id="Snippet107":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/HitTestingOverview/visualbasic/window1.xaml.vb" id="Snippet107":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>