-
Notifications
You must be signed in to change notification settings - Fork 43
/
UIKeyboardType.xml
284 lines (284 loc) · 12.8 KB
/
UIKeyboardType.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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<Type Name="UIKeyboardType" FullName="UIKit.UIKeyboardType">
<TypeSignature Language="C#" Value="public enum UIKeyboardType" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed UIKeyboardType extends System.Enum" />
<TypeSignature Language="DocId" Value="T:UIKit.UIKeyboardType" />
<TypeSignature Language="F#" Value="type UIKeyboardType = " />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.Native</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>An enumeration of keyboard types.</summary>
<remarks>
<para>In order to change the keyboard appearance, the currently displaying keyboard must be dismissed. This is achieved by having the <see cref="T:UIKit.UIControl" /> associated with the keyboard resigning as first responder, changing the keyboard type, and then re-subscribed as the first subscriber, as shown in the following code:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
void AddKeyboardTypeButton (UIKeyboardType kbType, RectangleF frame)
{
var kbButton = UIButton.FromType (UIButtonType.RoundedRect);
kbButton.Frame = frame;
kbButton.SetTitle (kbType.ToString (), UIControlState.Normal);
View.AddSubview (kbButton);
kbButton.TouchUpInside += (sender, e) => {
myTextField.ResignFirstResponder ();
myTextField.KeyboardType = kbType;
myTextField.BecomeFirstResponder ();
};
}
]]></code>
</example>
</remarks>
</Docs>
<Members>
<Member MemberName="AsciiCapable">
<MemberSignature Language="C#" Value="AsciiCapable" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType AsciiCapable = int64(1)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.AsciiCapable" />
<MemberSignature Language="F#" Value="AsciiCapable = 1" Usage="UIKit.UIKeyboardType.AsciiCapable" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Displays standard ASCII characters.</summary>
</Docs>
</Member>
<Member MemberName="ASCIICapable">
<MemberSignature Language="C#" Value="ASCIICapable" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType ASCIICapable = int64(1)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.ASCIICapable" />
<MemberSignature Language="F#" Value="ASCIICapable = 1" Usage="UIKit.UIKeyboardType.ASCIICapable" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Displays standard ASCII characters.</summary>
</Docs>
</Member>
<Member MemberName="AsciiCapableNumberPad">
<MemberSignature Language="C#" Value="AsciiCapableNumberPad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType AsciiCapableNumberPad = int64(11)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.AsciiCapableNumberPad" />
<MemberSignature Language="F#" Value="AsciiCapableNumberPad = 11" Usage="UIKit.UIKeyboardType.AsciiCapableNumberPad" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>11</MemberValue>
<Docs>
<summary>Displays numbers and decimal point by using standard ASCII characters.</summary>
</Docs>
</Member>
<Member MemberName="DecimalPad">
<MemberSignature Language="C#" Value="DecimalPad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType DecimalPad = int64(8)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.DecimalPad" />
<MemberSignature Language="F#" Value="DecimalPad = 8" Usage="UIKit.UIKeyboardType.DecimalPad" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>8</MemberValue>
<Docs>
<summary>Displays numbers and decimal point.</summary>
</Docs>
</Member>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="Default" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType Default = int64(0)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.Default" />
<MemberSignature Language="F#" Value="Default = 0" Usage="UIKit.UIKeyboardType.Default" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>0</MemberValue>
<Docs>
<summary>The default keyboard for the current input type.</summary>
</Docs>
</Member>
<Member MemberName="EmailAddress">
<MemberSignature Language="C#" Value="EmailAddress" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType EmailAddress = int64(7)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.EmailAddress" />
<MemberSignature Language="F#" Value="EmailAddress = 7" Usage="UIKit.UIKeyboardType.EmailAddress" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>7</MemberValue>
<Docs>
<summary>Characters, an @ symbol, and access to numbers and punctuation.</summary>
</Docs>
</Member>
<Member MemberName="NamePhonePad">
<MemberSignature Language="C#" Value="NamePhonePad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType NamePhonePad = int64(6)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.NamePhonePad" />
<MemberSignature Language="F#" Value="NamePhonePad = 6" Usage="UIKit.UIKeyboardType.NamePhonePad" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>6</MemberValue>
<Docs>
<summary>Characters plus access to numbers.</summary>
</Docs>
</Member>
<Member MemberName="NumberPad">
<MemberSignature Language="C#" Value="NumberPad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType NumberPad = int64(4)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.NumberPad" />
<MemberSignature Language="F#" Value="NumberPad = 4" Usage="UIKit.UIKeyboardType.NumberPad" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>Numbers.</summary>
</Docs>
</Member>
<Member MemberName="NumbersAndPunctuation">
<MemberSignature Language="C#" Value="NumbersAndPunctuation" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType NumbersAndPunctuation = int64(2)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.NumbersAndPunctuation" />
<MemberSignature Language="F#" Value="NumbersAndPunctuation = 2" Usage="UIKit.UIKeyboardType.NumbersAndPunctuation" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>Numbers and punctuation.</summary>
</Docs>
</Member>
<Member MemberName="PhonePad">
<MemberSignature Language="C#" Value="PhonePad" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType PhonePad = int64(5)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.PhonePad" />
<MemberSignature Language="F#" Value="PhonePad = 5" Usage="UIKit.UIKeyboardType.PhonePad" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>5</MemberValue>
<Docs>
<summary>Numbers plus access to #, *, 'pause', and 'wait'.</summary>
</Docs>
</Member>
<Member MemberName="Twitter">
<MemberSignature Language="C#" Value="Twitter" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType Twitter = int64(9)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.Twitter" />
<MemberSignature Language="F#" Value="Twitter = 9" Usage="UIKit.UIKeyboardType.Twitter" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>9</MemberValue>
<Docs>
<summary>Characters, @ and # keys, and access to numbers and punctuation.</summary>
</Docs>
</Member>
<Member MemberName="Url">
<MemberSignature Language="C#" Value="Url" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType Url = int64(3)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.Url" />
<MemberSignature Language="F#" Value="Url = 3" Usage="UIKit.UIKeyboardType.Url" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>Characters, '.', '/', and '.com' keys, and access to numbers and punctuation.</summary>
</Docs>
</Member>
<Member MemberName="WebSearch">
<MemberSignature Language="C#" Value="WebSearch" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype UIKit.UIKeyboardType WebSearch = int64(10)" />
<MemberSignature Language="DocId" Value="F:UIKit.UIKeyboardType.WebSearch" />
<MemberSignature Language="F#" Value="WebSearch = 10" Usage="UIKit.UIKeyboardType.WebSearch" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIKeyboardType</ReturnType>
</ReturnValue>
<MemberValue>10</MemberValue>
<Docs>
<summary>Optimized for Web search terms and URL entry. </summary>
</Docs>
</Member>
</Members>
</Type>