-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
StylusButton.xml
247 lines (226 loc) · 13 KB
/
StylusButton.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<Type Name="StylusButton" FullName="System.Windows.Input.StylusButton">
<TypeSignature Language="C#" Value="public class StylusButton" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit StylusButton extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Windows.Input.StylusButton" />
<TypeSignature Language="VB.NET" Value="Public Class StylusButton" />
<TypeSignature Language="F#" Value="type StylusButton = class" />
<TypeSignature Language="C++ CLI" Value="public ref class StylusButton" />
<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.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a button on a stylus.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following checks whether the user pressed the barrel button on a stylus.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Input/StylusButton/Overview/Window1.xaml.cs" id="Snippet24":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/StylusSnippets/VisualBasic/Window1.xaml.vb" id="Snippet24":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Guid">
<MemberSignature Language="C#" Value="public Guid Guid { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Guid Guid" />
<MemberSignature Language="DocId" Value="P:System.Windows.Input.StylusButton.Guid" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Guid As Guid" />
<MemberSignature Language="F#" Value="member this.Guid : Guid" Usage="System.Windows.Input.StylusButton.Guid" />
<MemberSignature Language="C++ CLI" Value="public:
 property Guid Guid { Guid 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.Guid</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Guid" /> that represents the stylus button.</summary>
<value>The <see cref="T:System.Guid" /> property that represents the stylus button.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The value of this property is guaranteed to be unique among stylus buttons on the system.
## Examples
The following checks whether the user pressed the barrel button on a stylus.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Input/StylusButton/Overview/Window1.xaml.cs" id="Snippet24":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/StylusSnippets/VisualBasic/Window1.xaml.vb" id="Snippet24":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:System.Windows.Input.StylusButton.Name" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Name As String" />
<MemberSignature Language="F#" Value="member this.Name : string" Usage="System.Windows.Input.StylusButton.Name" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Name { System::String ^ 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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name of the stylus button.</summary>
<value>The name of the stylus button.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example demonstrates the <xref:System.Windows.Input.StylusButton.Name%2A> property.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Input/StylusButton/Overview/Window1.xaml.cs" id="Snippet25":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/StylusSnippets/VisualBasic/Window1.xaml.vb" id="Snippet25":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="StylusButtonState">
<MemberSignature Language="C#" Value="public System.Windows.Input.StylusButtonState StylusButtonState { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Input.StylusButtonState StylusButtonState" />
<MemberSignature Language="DocId" Value="P:System.Windows.Input.StylusButton.StylusButtonState" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property StylusButtonState As StylusButtonState" />
<MemberSignature Language="F#" Value="member this.StylusButtonState : System.Windows.Input.StylusButtonState" Usage="System.Windows.Input.StylusButton.StylusButtonState" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Input::StylusButtonState StylusButtonState { System::Windows::Input::StylusButtonState 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>
<ReturnValue>
<ReturnType>System.Windows.Input.StylusButtonState</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the state of the stylus button.</summary>
<value>One of the <see cref="T:System.Windows.Input.StylusButtonState" /> values.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example demonstrates the <xref:System.Windows.Input.StylusButton.StylusButtonState%2A> property.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Input/StylusButton/Overview/Window1.xaml.cs" id="Snippet26":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/StylusSnippets/VisualBasic/Window1.xaml.vb" id="Snippet26":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="StylusDevice">
<MemberSignature Language="C#" Value="public System.Windows.Input.StylusDevice StylusDevice { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Input.StylusDevice StylusDevice" />
<MemberSignature Language="DocId" Value="P:System.Windows.Input.StylusButton.StylusDevice" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property StylusDevice As StylusDevice" />
<MemberSignature Language="F#" Value="member this.StylusDevice : System.Windows.Input.StylusDevice" Usage="System.Windows.Input.StylusButton.StylusDevice" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Input::StylusDevice ^ StylusDevice { System::Windows::Input::StylusDevice ^ 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.Input.StylusDevice</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the stylus that this button belongs to.</summary>
<value>A <see cref="T:System.Windows.Input.StylusDevice" /> that represents the stylus of the current <see cref="T:System.Windows.Input.StylusButton" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example demonstrates the <xref:System.Windows.Input.StylusButton.StylusDevice%2A> property.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Input/StylusButton/Overview/Window1.xaml.cs" id="Snippet27":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/StylusSnippets/VisualBasic/Window1.xaml.vb" id="Snippet27":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Input.StylusButton.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="F#" Value="override this.ToString : unit -> string" Usage="stylusButton.ToString " />
<MemberSignature Language="C++ CLI" Value="public:
 override System::String ^ ToString();" />
<MemberType>Method</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.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a string representation of the <see cref="T:System.Windows.Input.StylusButton" />.</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example demonstrates the <xref:System.Windows.Input.StylusButton.ToString%2A> method.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Input/StylusButton/Overview/Window1.xaml.cs" id="Snippet28":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/StylusSnippets/VisualBasic/Window1.xaml.vb" id="Snippet28":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>