-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
CaptureMode.xml
115 lines (112 loc) · 5.61 KB
/
CaptureMode.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
<Type Name="CaptureMode" FullName="System.Windows.Input.CaptureMode">
<TypeSignature Language="C#" Value="public enum CaptureMode" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed CaptureMode extends System.Enum" />
<TypeSignature Language="DocId" Value="T:System.Windows.Input.CaptureMode" />
<TypeSignature Language="VB.NET" Value="Public Enum CaptureMode" />
<TypeSignature Language="F#" Value="type CaptureMode = " />
<TypeSignature Language="C++ CLI" Value="public enum class CaptureMode" />
<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.Enum</BaseTypeName>
</Base>
<Docs>
<summary>Specifies the mouse capture policies.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When `CaptureMode` is set to `Element`, mouse capture is applied only to the element that has captured the mouse.
When `CaptureMode` is set to `SubTree`, mouse capture is applied to the element that has mouse capture or one of its child elements if the mouse is over the child element.
]]></format>
</remarks>
<altmember cref="M:System.Windows.Input.Mouse.Capture(System.Windows.IInputElement)" />
</Docs>
<Members>
<Member MemberName="Element">
<MemberSignature Language="C#" Value="Element" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Input.CaptureMode Element = int32(1)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Input.CaptureMode.Element" />
<MemberSignature Language="VB.NET" Value="Element" />
<MemberSignature Language="F#" Value="Element = 1" Usage="System.Windows.Input.CaptureMode.Element" />
<MemberSignature Language="C++ CLI" Value="Element" />
<MemberType>Field</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>
<ReturnValue>
<ReturnType>System.Windows.Input.CaptureMode</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Mouse capture is applied to a single element. Mouse input goes to the captured element.</summary>
</Docs>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Input.CaptureMode None = int32(0)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Input.CaptureMode.None" />
<MemberSignature Language="VB.NET" Value="None" />
<MemberSignature Language="F#" Value="None = 0" Usage="System.Windows.Input.CaptureMode.None" />
<MemberSignature Language="C++ CLI" Value="None" />
<MemberType>Field</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>
<ReturnValue>
<ReturnType>System.Windows.Input.CaptureMode</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>No mouse capture. Mouse input goes to the element under the mouse.</summary>
</Docs>
</Member>
<Member MemberName="SubTree">
<MemberSignature Language="C#" Value="SubTree" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Windows.Input.CaptureMode SubTree = int32(2)" />
<MemberSignature Language="DocId" Value="F:System.Windows.Input.CaptureMode.SubTree" />
<MemberSignature Language="VB.NET" Value="SubTree" />
<MemberSignature Language="F#" Value="SubTree = 2" Usage="System.Windows.Input.CaptureMode.SubTree" />
<MemberSignature Language="C++ CLI" Value="SubTree" />
<MemberType>Field</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>
<ReturnValue>
<ReturnType>System.Windows.Input.CaptureMode</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Mouse capture is applied to a subtree of elements. If the mouse is over a child of the element with capture, mouse input is sent to the child element. Otherwise, mouse input is sent to the element with mouse capture.</summary>
</Docs>
</Member>
</Members>
</Type>