/
BindableProperty.xml
384 lines (384 loc) · 38.2 KB
/
BindableProperty.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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<Type Name="BindableProperty" FullName="Microsoft.Maui.Controls.BindableProperty">
<TypeSignature Language="C#" Value="public sealed class BindableProperty" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit BindableProperty extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.Controls.BindableProperty" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class BindableProperty" />
<TypeSignature Language="C++ CLI" Value="public ref class BindableProperty sealed" />
<TypeSignature Language="F#" Value="type BindableProperty = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.BindablePropertyConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.BindablePropertyConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerDisplay("{PropertyName}")]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{PropertyName}")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A BindableProperty is a backing store for properties allowing bindings on <see cref="T:Microsoft.Maui.Controls.BindableObject" />.</summary>
<remarks />
<related type="article" href="https://devblogs.microsoft.com/xamarin/introduction-to-data-binding/">Introduction To Data Binding</related>
</Docs>
<Members>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Controls.BindableProperty Create (string propertyName, Type returnType, Type declaringType, object defaultValue = default, Microsoft.Maui.Controls.BindingMode defaultBindingMode = Microsoft.Maui.Controls.BindingMode.OneWay, Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate validateValue = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate propertyChanged = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate propertyChanging = default, Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate coerceValue = default, Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate defaultValueCreator = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Controls.BindableProperty Create(string propertyName, class System.Type returnType, class System.Type declaringType, object defaultValue, valuetype Microsoft.Maui.Controls.BindingMode defaultBindingMode, class Microsoft.Maui.Controls.BindableProperty/ValidateValueDelegate validateValue, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangedDelegate propertyChanged, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangingDelegate propertyChanging, class Microsoft.Maui.Controls.BindableProperty/CoerceValueDelegate coerceValue, class Microsoft.Maui.Controls.BindableProperty/CreateDefaultValueDelegate defaultValueCreator) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.BindableProperty.Create(System.String,System.Type,System.Type,System.Object,Microsoft.Maui.Controls.BindingMode,Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate,Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate,Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (propertyName As String, returnType As Type, declaringType As Type, Optional defaultValue As Object = Nothing, Optional defaultBindingMode As BindingMode = Microsoft.Maui.Controls.BindingMode.OneWay, Optional validateValue As BindableProperty.ValidateValueDelegate = Nothing, Optional propertyChanged As BindableProperty.BindingPropertyChangedDelegate = Nothing, Optional propertyChanging As BindableProperty.BindingPropertyChangingDelegate = Nothing, Optional coerceValue As BindableProperty.CoerceValueDelegate = Nothing, Optional defaultValueCreator As BindableProperty.CreateDefaultValueDelegate = Nothing) As BindableProperty" />
<MemberSignature Language="F#" Value="static member Create : string * Type * Type * obj * Microsoft.Maui.Controls.BindingMode * Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate * Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate * Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate -> Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.BindableProperty.Create (propertyName, returnType, declaringType, defaultValue, defaultBindingMode, validateValue, propertyChanged, propertyChanging, coerceValue, defaultValueCreator)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyName" Type="System.String" />
<Parameter Name="returnType" Type="System.Type" />
<Parameter Name="declaringType" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-maui-7.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="defaultValue" Type="System.Object" />
<Parameter Name="defaultBindingMode" Type="Microsoft.Maui.Controls.BindingMode" />
<Parameter Name="validateValue" Type="Microsoft.Maui.Controls.BindableProperty+ValidateValueDelegate" />
<Parameter Name="propertyChanged" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangedDelegate" />
<Parameter Name="propertyChanging" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangingDelegate" />
<Parameter Name="coerceValue" Type="Microsoft.Maui.Controls.BindableProperty+CoerceValueDelegate" />
<Parameter Name="defaultValueCreator" Type="Microsoft.Maui.Controls.BindableProperty+CreateDefaultValueDelegate" />
</Parameters>
<Docs>
<param name="propertyName">The name of the BindableProperty.</param>
<param name="returnType">The type of the property.</param>
<param name="declaringType">The type of the declaring object.</param>
<param name="defaultValue">The default value for the property.</param>
<param name="defaultBindingMode">The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay.</param>
<param name="validateValue">A delegate to be run when a value is set. This parameter is optional. Default is null.</param>
<param name="propertyChanged">A delegate to be run when the value has changed. This parameter is optional. Default is null.</param>
<param name="propertyChanging">A delegate to be run when the value will change. This parameter is optional. Default is null.</param>
<param name="coerceValue">A delegate used to coerce the range of a value. This parameter is optional. Default is null.</param>
<param name="defaultValueCreator">A Func used to initialize default value for reference types.</param>
<summary>Creates a new instance of the BindableProperty class.</summary>
<returns>A newly created BindableProperty.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateAttached">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Controls.BindableProperty CreateAttached (string propertyName, Type returnType, Type declaringType, object defaultValue, Microsoft.Maui.Controls.BindingMode defaultBindingMode = Microsoft.Maui.Controls.BindingMode.OneWay, Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate validateValue = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate propertyChanged = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate propertyChanging = default, Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate coerceValue = default, Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate defaultValueCreator = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Controls.BindableProperty CreateAttached(string propertyName, class System.Type returnType, class System.Type declaringType, object defaultValue, valuetype Microsoft.Maui.Controls.BindingMode defaultBindingMode, class Microsoft.Maui.Controls.BindableProperty/ValidateValueDelegate validateValue, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangedDelegate propertyChanged, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangingDelegate propertyChanging, class Microsoft.Maui.Controls.BindableProperty/CoerceValueDelegate coerceValue, class Microsoft.Maui.Controls.BindableProperty/CreateDefaultValueDelegate defaultValueCreator) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.BindableProperty.CreateAttached(System.String,System.Type,System.Type,System.Object,Microsoft.Maui.Controls.BindingMode,Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate,Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate,Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateAttached (propertyName As String, returnType As Type, declaringType As Type, defaultValue As Object, Optional defaultBindingMode As BindingMode = Microsoft.Maui.Controls.BindingMode.OneWay, Optional validateValue As BindableProperty.ValidateValueDelegate = Nothing, Optional propertyChanged As BindableProperty.BindingPropertyChangedDelegate = Nothing, Optional propertyChanging As BindableProperty.BindingPropertyChangingDelegate = Nothing, Optional coerceValue As BindableProperty.CoerceValueDelegate = Nothing, Optional defaultValueCreator As BindableProperty.CreateDefaultValueDelegate = Nothing) As BindableProperty" />
<MemberSignature Language="F#" Value="static member CreateAttached : string * Type * Type * obj * Microsoft.Maui.Controls.BindingMode * Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate * Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate * Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate -> Microsoft.Maui.Controls.BindableProperty" Usage="Microsoft.Maui.Controls.BindableProperty.CreateAttached (propertyName, returnType, declaringType, defaultValue, defaultBindingMode, validateValue, propertyChanged, propertyChanging, coerceValue, defaultValueCreator)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindableProperty</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyName" Type="System.String" />
<Parameter Name="returnType" Type="System.Type" />
<Parameter Name="declaringType" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-maui-7.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="defaultValue" Type="System.Object" />
<Parameter Name="defaultBindingMode" Type="Microsoft.Maui.Controls.BindingMode" />
<Parameter Name="validateValue" Type="Microsoft.Maui.Controls.BindableProperty+ValidateValueDelegate" />
<Parameter Name="propertyChanged" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangedDelegate" />
<Parameter Name="propertyChanging" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangingDelegate" />
<Parameter Name="coerceValue" Type="Microsoft.Maui.Controls.BindableProperty+CoerceValueDelegate" />
<Parameter Name="defaultValueCreator" Type="Microsoft.Maui.Controls.BindableProperty+CreateDefaultValueDelegate" />
</Parameters>
<Docs>
<param name="propertyName">The name of the BindableProperty.</param>
<param name="returnType">The type of the property.</param>
<param name="declaringType">The type of the declaring object.</param>
<param name="defaultValue">The default value for the property.</param>
<param name="defaultBindingMode">The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay.</param>
<param name="validateValue">A delegate to be run when a value is set. This parameter is optional. Default is null.</param>
<param name="propertyChanged">A delegate to be run when the value has changed. This parameter is optional. Default is null.</param>
<param name="propertyChanging">A delegate to be run when the value will change. This parameter is optional. Default is null.</param>
<param name="coerceValue">A delegate used to coerce the range of a value. This parameter is optional. Default is null.</param>
<param name="defaultValueCreator">A Func used to initialize default value for reference types.</param>
<summary>Creates a new instance of the BindableProperty class for an attached property.</summary>
<returns>A newly created attached BindableProperty.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateAttachedReadOnly">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Controls.BindablePropertyKey CreateAttachedReadOnly (string propertyName, Type returnType, Type declaringType, object defaultValue, Microsoft.Maui.Controls.BindingMode defaultBindingMode = Microsoft.Maui.Controls.BindingMode.OneWayToSource, Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate validateValue = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate propertyChanged = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate propertyChanging = default, Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate coerceValue = default, Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate defaultValueCreator = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Controls.BindablePropertyKey CreateAttachedReadOnly(string propertyName, class System.Type returnType, class System.Type declaringType, object defaultValue, valuetype Microsoft.Maui.Controls.BindingMode defaultBindingMode, class Microsoft.Maui.Controls.BindableProperty/ValidateValueDelegate validateValue, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangedDelegate propertyChanged, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangingDelegate propertyChanging, class Microsoft.Maui.Controls.BindableProperty/CoerceValueDelegate coerceValue, class Microsoft.Maui.Controls.BindableProperty/CreateDefaultValueDelegate defaultValueCreator) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.BindableProperty.CreateAttachedReadOnly(System.String,System.Type,System.Type,System.Object,Microsoft.Maui.Controls.BindingMode,Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate,Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate,Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateAttachedReadOnly (propertyName As String, returnType As Type, declaringType As Type, defaultValue As Object, Optional defaultBindingMode As BindingMode = Microsoft.Maui.Controls.BindingMode.OneWayToSource, Optional validateValue As BindableProperty.ValidateValueDelegate = Nothing, Optional propertyChanged As BindableProperty.BindingPropertyChangedDelegate = Nothing, Optional propertyChanging As BindableProperty.BindingPropertyChangingDelegate = Nothing, Optional coerceValue As BindableProperty.CoerceValueDelegate = Nothing, Optional defaultValueCreator As BindableProperty.CreateDefaultValueDelegate = Nothing) As BindablePropertyKey" />
<MemberSignature Language="F#" Value="static member CreateAttachedReadOnly : string * Type * Type * obj * Microsoft.Maui.Controls.BindingMode * Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate * Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate * Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate -> Microsoft.Maui.Controls.BindablePropertyKey" Usage="Microsoft.Maui.Controls.BindableProperty.CreateAttachedReadOnly (propertyName, returnType, declaringType, defaultValue, defaultBindingMode, validateValue, propertyChanged, propertyChanging, coerceValue, defaultValueCreator)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindablePropertyKey</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyName" Type="System.String" />
<Parameter Name="returnType" Type="System.Type" />
<Parameter Name="declaringType" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-maui-7.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="defaultValue" Type="System.Object" />
<Parameter Name="defaultBindingMode" Type="Microsoft.Maui.Controls.BindingMode" />
<Parameter Name="validateValue" Type="Microsoft.Maui.Controls.BindableProperty+ValidateValueDelegate" />
<Parameter Name="propertyChanged" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangedDelegate" />
<Parameter Name="propertyChanging" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangingDelegate" />
<Parameter Name="coerceValue" Type="Microsoft.Maui.Controls.BindableProperty+CoerceValueDelegate" />
<Parameter Name="defaultValueCreator" Type="Microsoft.Maui.Controls.BindableProperty+CreateDefaultValueDelegate" />
</Parameters>
<Docs>
<param name="propertyName">The name of the BindableProperty.</param>
<param name="returnType">The type of the property.</param>
<param name="declaringType">The type of the declaring object.</param>
<param name="defaultValue">The default value for the property.</param>
<param name="defaultBindingMode">The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay.</param>
<param name="validateValue">A delegate to be run when a value is set. This parameter is optional. Default is null.</param>
<param name="propertyChanged">A delegate to be run when the value has changed. This parameter is optional. Default is null.</param>
<param name="propertyChanging">A delegate to be run when the value will change. This parameter is optional. Default is null.</param>
<param name="coerceValue">A delegate used to coerce the range of a value. This parameter is optional. Default is null.</param>
<param name="defaultValueCreator">A Func used to initialize default value for reference types.</param>
<summary>Creates a new instance of the BindableProperty class for attached read-only properties.</summary>
<returns>A newly created attached read-only BindableProperty.</returns>
<remarks>
<para>Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateReadOnly">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Controls.BindablePropertyKey CreateReadOnly (string propertyName, Type returnType, Type declaringType, object defaultValue, Microsoft.Maui.Controls.BindingMode defaultBindingMode = Microsoft.Maui.Controls.BindingMode.OneWayToSource, Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate validateValue = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate propertyChanged = default, Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate propertyChanging = default, Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate coerceValue = default, Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate defaultValueCreator = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Controls.BindablePropertyKey CreateReadOnly(string propertyName, class System.Type returnType, class System.Type declaringType, object defaultValue, valuetype Microsoft.Maui.Controls.BindingMode defaultBindingMode, class Microsoft.Maui.Controls.BindableProperty/ValidateValueDelegate validateValue, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangedDelegate propertyChanged, class Microsoft.Maui.Controls.BindableProperty/BindingPropertyChangingDelegate propertyChanging, class Microsoft.Maui.Controls.BindableProperty/CoerceValueDelegate coerceValue, class Microsoft.Maui.Controls.BindableProperty/CreateDefaultValueDelegate defaultValueCreator) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.BindableProperty.CreateReadOnly(System.String,System.Type,System.Type,System.Object,Microsoft.Maui.Controls.BindingMode,Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate,Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate,Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate,Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateReadOnly (propertyName As String, returnType As Type, declaringType As Type, defaultValue As Object, Optional defaultBindingMode As BindingMode = Microsoft.Maui.Controls.BindingMode.OneWayToSource, Optional validateValue As BindableProperty.ValidateValueDelegate = Nothing, Optional propertyChanged As BindableProperty.BindingPropertyChangedDelegate = Nothing, Optional propertyChanging As BindableProperty.BindingPropertyChangingDelegate = Nothing, Optional coerceValue As BindableProperty.CoerceValueDelegate = Nothing, Optional defaultValueCreator As BindableProperty.CreateDefaultValueDelegate = Nothing) As BindablePropertyKey" />
<MemberSignature Language="F#" Value="static member CreateReadOnly : string * Type * Type * obj * Microsoft.Maui.Controls.BindingMode * Microsoft.Maui.Controls.BindableProperty.ValidateValueDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangedDelegate * Microsoft.Maui.Controls.BindableProperty.BindingPropertyChangingDelegate * Microsoft.Maui.Controls.BindableProperty.CoerceValueDelegate * Microsoft.Maui.Controls.BindableProperty.CreateDefaultValueDelegate -> Microsoft.Maui.Controls.BindablePropertyKey" Usage="Microsoft.Maui.Controls.BindableProperty.CreateReadOnly (propertyName, returnType, declaringType, defaultValue, defaultBindingMode, validateValue, propertyChanged, propertyChanging, coerceValue, defaultValueCreator)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindablePropertyKey</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyName" Type="System.String" />
<Parameter Name="returnType" Type="System.Type" />
<Parameter Name="declaringType" Type="System.Type">
<Attributes>
<Attribute FrameworkAlternate="net-maui-7.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
<Parameter Name="defaultValue" Type="System.Object" />
<Parameter Name="defaultBindingMode" Type="Microsoft.Maui.Controls.BindingMode" />
<Parameter Name="validateValue" Type="Microsoft.Maui.Controls.BindableProperty+ValidateValueDelegate" />
<Parameter Name="propertyChanged" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangedDelegate" />
<Parameter Name="propertyChanging" Type="Microsoft.Maui.Controls.BindableProperty+BindingPropertyChangingDelegate" />
<Parameter Name="coerceValue" Type="Microsoft.Maui.Controls.BindableProperty+CoerceValueDelegate" />
<Parameter Name="defaultValueCreator" Type="Microsoft.Maui.Controls.BindableProperty+CreateDefaultValueDelegate" />
</Parameters>
<Docs>
<param name="propertyName">The name of the BindableProperty.</param>
<param name="returnType">The type of the property.</param>
<param name="declaringType">The type of the declaring object.</param>
<param name="defaultValue">The default value for the property.</param>
<param name="defaultBindingMode">The BindingMode to use on SetBinding() if no BindingMode is given. This parameter is optional. Default is BindingMode.OneWay.</param>
<param name="validateValue">A delegate to be run when a value is set. This parameter is optional. Default is null.</param>
<param name="propertyChanged">A delegate to be run when the value has changed. This parameter is optional. Default is null.</param>
<param name="propertyChanging">A delegate to be run when the value will change. This parameter is optional. Default is null.</param>
<param name="coerceValue">A delegate used to coerce the range of a value. This parameter is optional. Default is null.</param>
<param name="defaultValueCreator">A Func used to initialize default value for reference types.</param>
<summary>Creates a new instance of the BindablePropertyKey class.</summary>
<returns />
<remarks>To be added.</remarks>
<para>Attached properties are bindable properties that are bound to an object other than their parent. Often, they are used for child items in tables and grids, where data about the location of an item is maintained by its parent, but must be accessed from the child item itself.</para>
</Docs>
</Member>
<Member MemberName="DeclaringType">
<MemberSignature Language="C#" Value="public Type DeclaringType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type DeclaringType" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.BindableProperty.DeclaringType" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property DeclaringType As Type" />
<MemberSignature Language="C++ CLI" Value="public:
 property Type ^ DeclaringType { Type ^ get(); };" />
<MemberSignature Language="F#" Value="member this.DeclaringType : Type" Usage="Microsoft.Maui.Controls.BindableProperty.DeclaringType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-maui-7.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the type declaring the BindableProperty</summary>
<value />
<remarks>Unused</remarks>
</Docs>
</Member>
<Member MemberName="DefaultBindingMode">
<MemberSignature Language="C#" Value="public Microsoft.Maui.Controls.BindingMode DefaultBindingMode { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Microsoft.Maui.Controls.BindingMode DefaultBindingMode" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.BindableProperty.DefaultBindingMode" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property DefaultBindingMode As BindingMode" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Maui::Controls::BindingMode DefaultBindingMode { Microsoft::Maui::Controls::BindingMode get(); };" />
<MemberSignature Language="F#" Value="member this.DefaultBindingMode : Microsoft.Maui.Controls.BindingMode" Usage="Microsoft.Maui.Controls.BindableProperty.DefaultBindingMode" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Controls.BindingMode</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the default BindingMode.</summary>
<value />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DefaultValue">
<MemberSignature Language="C#" Value="public object DefaultValue { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance object DefaultValue" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.BindableProperty.DefaultValue" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property DefaultValue As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Object ^ DefaultValue { System::Object ^ get(); };" />
<MemberSignature Language="F#" Value="member this.DefaultValue : obj" Usage="Microsoft.Maui.Controls.BindableProperty.DefaultValue" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the default value for the BindableProperty.</summary>
<value />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsReadOnly">
<MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.BindableProperty.IsReadOnly" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsReadOnly As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool IsReadOnly { bool get(); };" />
<MemberSignature Language="F#" Value="member this.IsReadOnly : bool" Usage="Microsoft.Maui.Controls.BindableProperty.IsReadOnly" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating if the BindableProperty is created form a BindablePropertyKey.</summary>
<value />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PropertyName">
<MemberSignature Language="C#" Value="public string PropertyName { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string PropertyName" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.BindableProperty.PropertyName" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property PropertyName As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ PropertyName { System::String ^ get(); };" />
<MemberSignature Language="F#" Value="member this.PropertyName : string" Usage="Microsoft.Maui.Controls.BindableProperty.PropertyName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the property name.</summary>
<value />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ReturnType">
<MemberSignature Language="C#" Value="public Type ReturnType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ReturnType" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.Controls.BindableProperty.ReturnType" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ReturnType As Type" />
<MemberSignature Language="C++ CLI" Value="public:
 property Type ^ ReturnType { Type ^ get(); };" />
<MemberSignature Language="F#" Value="member this.ReturnType : Type" Usage="Microsoft.Maui.Controls.BindableProperty.ReturnType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the type of the BindableProperty.</summary>
<value />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UnsetValue">
<MemberSignature Language="C#" Value="public static readonly object UnsetValue;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly object UnsetValue" />
<MemberSignature Language="DocId" Value="F:Microsoft.Maui.Controls.BindableProperty.UnsetValue" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly UnsetValue As Object " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Object ^ UnsetValue;" />
<MemberSignature Language="F#" Value=" staticval mutable UnsetValue : obj" Usage="Microsoft.Maui.Controls.BindableProperty.UnsetValue" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>