-
Notifications
You must be signed in to change notification settings - Fork 3
/
TextCell.xml
366 lines (366 loc) · 21.1 KB
/
TextCell.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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<Type Name="TextCell" FullName="Microsoft.Maui.Controls.TextCell">
<TypeSignature Language="C#" Value="public class TextCell : Microsoft.Maui.Controls.Cell" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TextCell extends Microsoft.Maui.Controls.Cell" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.Controls.TextCell" />
<TypeSignature Language="VB.NET" Value="Public Class TextCell
Inherits Cell" />
<TypeSignature Language="C++ CLI" Value="public ref class TextCell : Microsoft::Maui::Controls::Cell" />
<TypeSignature Language="F#" Value="type TextCell = class
 inherit Cell" />
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.Maui.Controls.Cell</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
A <see cref="T:Microsoft.Maui.Controls.Cell" /> with primary <see cref="P:Microsoft.Maui.Controls.TextCell.Text" /> and <see cref="P:Microsoft.Maui.Controls.TextCell.Detail" /> text.
</summary>
<remarks>
<para>The following example shows a basic use.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
public class App : Application
{
public App()
{
MainPage = new ContentPage {
Content = new TableView {
Intent = TableIntent.Form,
Root = new TableRoot ("Table Title") {
new TableSection ("Section 1 Title") {
new TextCell {
Text = "TextCell Text",
Detail = "TextCell Detail"
},
new EntryCell {
Label = "EntryCell:",
Placeholder = "default keyboard",
Keyboard = Keyboard.Default
}
},
new TableSection ("Section 2 Title") {
new EntryCell {
Label = "Another EntryCell:",
Placeholder = "phone keyboard",
Keyboard = Keyboard.Telephone
},
new SwitchCell {
Text = "SwitchCell:"
}
}
}
}
};
}
// OnStart, OnSleep, OnResume overrides omitted...
}]]></code>
</example>
<para>
<img href="~/xml/Microsoft.Maui.Controls/_images/TextCell.TripleScreenShot.png" />
</para>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TextCell ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.TextCell.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 TextCell();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Command">
<MemberSignature Language="C#" Value="public System.Windows.Input.ICommand Command { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Input.ICommand Command" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.TextCell.Command" />
<MemberSignature Language="VB.NET" Value="Public Property Command As ICommand" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Input::ICommand ^ Command { System::Windows::Input::ICommand ^ get(); void set(System::Windows::Input::ICommand ^ value); };" />
<MemberSignature Language="F#" Value="member this.Command : System.Windows.Input.ICommand with get, set" Usage="Microsoft.Maui.Controls.TextCell.Command" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Input.ICommand</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the ICommand to be executed when the TextCell is tapped. This is a bindable property.</summary>
<value />
<remarks>Setting the Command property has a side effect of changing the Enabled property depending on ICommand.CanExecute.</remarks>
</Docs>
</Member>
<Member MemberName="CommandParameter">
<MemberSignature Language="C#" Value="public object CommandParameter { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance object CommandParameter" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.TextCell.CommandParameter" />
<MemberSignature Language="VB.NET" Value="Public Property CommandParameter As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Object ^ CommandParameter { System::Object ^ get(); void set(System::Object ^ value); };" />
<MemberSignature Language="F#" Value="member this.CommandParameter : obj with get, set" Usage="Microsoft.Maui.Controls.TextCell.CommandParameter" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the parameter passed when invoking the Command. This is a bindable property.</summary>
<value />
<remarks />
</Docs>
</Member>
<Member MemberName="CommandParameterProperty">
<MemberSignature Language="C#" Value="public static readonly Microsoft.Maui.Controls.BindableProperty CommandParameterProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class Microsoft.Maui.Controls.BindableProperty CommandParameterProperty" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.TextCell.CommandParameterProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CommandParameterProperty As BindableProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly Microsoft::Maui::Controls::BindableProperty ^ CommandParameterProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CommandParameterProperty : Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.TextCell.CommandParameterProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Bindable property for <see cref="P:Microsoft.Maui.Controls.TextCell.CommandParameter" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CommandProperty">
<MemberSignature Language="C#" Value="public static readonly Microsoft.Maui.Controls.BindableProperty CommandProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class Microsoft.Maui.Controls.BindableProperty CommandProperty" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.TextCell.CommandProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly CommandProperty As BindableProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly Microsoft::Maui::Controls::BindableProperty ^ CommandProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable CommandProperty : Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.TextCell.CommandProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Bindable property for <see cref="P:Microsoft.Maui.Controls.TextCell.Command" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Detail">
<MemberSignature Language="C#" Value="public string Detail { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Detail" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.TextCell.Detail" />
<MemberSignature Language="VB.NET" Value="Public Property Detail As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Detail { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.Detail : string with get, set" Usage="Microsoft.Maui.Controls.TextCell.Detail" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the secondary text to be displayed in the TextCell. This is a bindable property.</summary>
<value />
<remarks />
</Docs>
</Member>
<Member MemberName="DetailColor">
<MemberSignature Language="C#" Value="public Microsoft.Maui.Graphics.Color DetailColor { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Maui.Graphics.Color DetailColor" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.TextCell.DetailColor" />
<MemberSignature Language="VB.NET" Value="Public Property DetailColor As Color" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Maui::Graphics::Color ^ DetailColor { Microsoft::Maui::Graphics::Color ^ get(); void set(Microsoft::Maui::Graphics::Color ^ value); };" />
<MemberSignature Language="F#" Value="member this.DetailColor : Microsoft.Maui.Graphics.Color with get, set" Usage="Microsoft.Maui.Controls.TextCell.DetailColor" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Graphics.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the color to render the secondary text. This is a bindable property.</summary>
<value>The color of the text. Color.Default is the default color value.</value>
<remarks>Not all platforms may support transparent text rendering. Using Color.Default will result in the system theme color being used.</remarks>
</Docs>
</Member>
<Member MemberName="DetailColorProperty">
<MemberSignature Language="C#" Value="public static readonly Microsoft.Maui.Controls.BindableProperty DetailColorProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class Microsoft.Maui.Controls.BindableProperty DetailColorProperty" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.TextCell.DetailColorProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DetailColorProperty As BindableProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly Microsoft::Maui::Controls::BindableProperty ^ DetailColorProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable DetailColorProperty : Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.TextCell.DetailColorProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Bindable property for <see cref="P:Microsoft.Maui.Controls.TextCell.DetailColor" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DetailProperty">
<MemberSignature Language="C#" Value="public static readonly Microsoft.Maui.Controls.BindableProperty DetailProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class Microsoft.Maui.Controls.BindableProperty DetailProperty" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.TextCell.DetailProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly DetailProperty As BindableProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly Microsoft::Maui::Controls::BindableProperty ^ DetailProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable DetailProperty : Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.TextCell.DetailProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Bindable property for <see cref="P:Microsoft.Maui.Controls.TextCell.Detail" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnTapped">
<MemberSignature Language="C#" Value="protected internal override void OnTapped ();" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig virtual instance void OnTapped() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.TextCell.OnTapped" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overrides Sub OnTapped ()" />
<MemberSignature Language="C++ CLI" Value="protected public:
 override void OnTapped();" />
<MemberSignature Language="F#" Value="override this.OnTapped : unit -> unit" Usage="textCell.OnTapped " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Text">
<MemberSignature Language="C#" Value="public string Text { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Text" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.TextCell.Text" />
<MemberSignature Language="VB.NET" Value="Public Property Text As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="F#" Value="member this.Text : string with get, set" Usage="Microsoft.Maui.Controls.TextCell.Text" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the primary text to be displayed. This is a bindable property.</summary>
<value />
<remarks />
</Docs>
</Member>
<Member MemberName="TextColor">
<MemberSignature Language="C#" Value="public Microsoft.Maui.Graphics.Color TextColor { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Maui.Graphics.Color TextColor" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.TextCell.TextColor" />
<MemberSignature Language="VB.NET" Value="Public Property TextColor As Color" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Maui::Graphics::Color ^ TextColor { Microsoft::Maui::Graphics::Color ^ get(); void set(Microsoft::Maui::Graphics::Color ^ value); };" />
<MemberSignature Language="F#" Value="member this.TextColor : Microsoft.Maui.Graphics.Color with get, set" Usage="Microsoft.Maui.Controls.TextCell.TextColor" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Graphics.Color</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the color to render the primary text. This is a bindable property.</summary>
<value>The color of the text.</value>
<remarks>Not all platforms may support transparent text rendering. Using Color.Default will result in the system theme color being used. Color.Default is the default color value.</remarks>
</Docs>
</Member>
<Member MemberName="TextColorProperty">
<MemberSignature Language="C#" Value="public static readonly Microsoft.Maui.Controls.BindableProperty TextColorProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class Microsoft.Maui.Controls.BindableProperty TextColorProperty" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.TextCell.TextColorProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly TextColorProperty As BindableProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly Microsoft::Maui::Controls::BindableProperty ^ TextColorProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable TextColorProperty : Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.TextCell.TextColorProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Bindable property for <see cref="P:Microsoft.Maui.Controls.TextCell.TextColor" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TextProperty">
<MemberSignature Language="C#" Value="public static readonly Microsoft.Maui.Controls.BindableProperty TextProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class Microsoft.Maui.Controls.BindableProperty TextProperty" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.TextCell.TextProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly TextProperty As BindableProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly Microsoft::Maui::Controls::BindableProperty ^ TextProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable TextProperty : Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.TextCell.TextProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Bindable property for <see cref="P:Microsoft.Maui.Controls.TextCell.Text" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>