-
Notifications
You must be signed in to change notification settings - Fork 4
/
TemplateExtensions.xml
58 lines (58 loc) · 4.1 KB
/
TemplateExtensions.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
<Type Name="TemplateExtensions" FullName="Microsoft.Maui.Controls.TemplateExtensions">
<TypeSignature Language="C#" Value="public static class TemplateExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit TemplateExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.Controls.TemplateExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module TemplateExtensions" />
<TypeSignature Language="C++ CLI" Value="public ref class TemplateExtensions abstract sealed" />
<TypeSignature Language="F#" Value="type TemplateExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Extension class for DataTemplate, providing a string-based shortcut method for defining a Binding.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="SetBinding">
<MemberSignature Language="C#" Value="public static void SetBinding (this Microsoft.Maui.Controls.DataTemplate self, Microsoft.Maui.Controls.BindableProperty targetProperty, string path);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetBinding(class Microsoft.Maui.Controls.DataTemplate self, class Microsoft.Maui.Controls.BindableProperty targetProperty, string path) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Controls.TemplateExtensions.SetBinding(Microsoft.Maui.Controls.DataTemplate,Microsoft.Maui.Controls.BindableProperty,System.String)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Sub SetBinding (self As DataTemplate, targetProperty As BindableProperty, path As String)" />
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static void SetBinding(Microsoft::Maui::Controls::DataTemplate ^ self, Microsoft::Maui::Controls::BindableProperty ^ targetProperty, System::String ^ path);" />
<MemberSignature Language="F#" Value="static member SetBinding : Microsoft.Maui.Controls.DataTemplate * Microsoft.Maui.Controls.BindableProperty * string -> unit" Usage="Microsoft.Maui.Controls.TemplateExtensions.SetBinding (self, targetProperty, path)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Controls</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="net-maui-9.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Using bindings with string paths is not trim safe. Use expression-based binding instead.", Url=null)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Using bindings with string paths is not trim safe. Use expression-based binding instead.", Url=null)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="self" Type="Microsoft.Maui.Controls.DataTemplate" RefType="this" />
<Parameter Name="targetProperty" Type="Microsoft.Maui.Controls.BindableProperty" />
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<param name="self">The template on which this method operates.</param>
<param name="targetProperty">The target property of the binding.</param>
<param name="path">The path to the binding.</param>
<summary>Binds the <paramref name="self" /> object's <paramref name="targetProperty" /> to a new <see cref="T:Microsoft.Maui.Controls.Binding" /> instance that was created with <paramref name="path" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>