|
8 | 8 |
|
9 | 9 | namespace Microsoft.Maui.Controls |
10 | 10 | { |
11 | | - /// <summary>Contains convenience extension methods for <see cref="T:Microsoft.Maui.Controls.BindableObject"/>.</summary> |
| 11 | + /// <summary>Contains convenience extension methods for <see cref="Microsoft.Maui.Controls.BindableObject"/>.</summary> |
12 | 12 | public static class BindableObjectExtensions |
13 | 13 | { |
14 | 14 | internal static void RefreshPropertyValue(this BindableObject self, BindableProperty property, object value) |
@@ -50,11 +50,11 @@ internal static void PropagateBindingContext<T>(this BindableObject self, IEnume |
50 | 50 | } |
51 | 51 |
|
52 | 52 | /// <summary>Creates and applies a binding to a property.</summary> |
53 | | - /// <param name="self">The <see cref="T:Microsoft.Maui.Controls.BindableObject"/>.</param> |
| 53 | + /// <param name="self">The <see cref="Microsoft.Maui.Controls.BindableObject"/>.</param> |
54 | 54 | /// <param name="targetProperty">The BindableProperty on which to set a binding.</param> |
55 | | - /// <param name="path">A <see cref="T:System.String"/> indicating the property path to bind to.</param> |
56 | | - /// <param name="mode">The <see cref="T:Microsoft.Maui.Controls.BindingMode"/> for the binding. This parameter is optional. Default is <see cref="F:Microsoft.Maui.Controls.BindingMode.Default"/>.</param> |
57 | | - /// <param name="converter">An <see cref="T:Microsoft.Maui.Controls.IValueConverter"/> for the binding. This parameter is optional. Default is <see langword="null"/>.</param> |
| 55 | + /// <param name="path">A <see cref="System.String"/> indicating the property path to bind to.</param> |
| 56 | + /// <param name="mode">The <see cref="Microsoft.Maui.Controls.BindingMode"/> for the binding. This parameter is optional. Default is <see cref="Microsoft.Maui.Controls.BindingMode.Default"/>.</param> |
| 57 | + /// <param name="converter">An <see cref="Microsoft.Maui.Controls.IValueConverter"/> for the binding. This parameter is optional. Default is <see langword="null"/>.</param> |
58 | 58 | /// <param name="stringFormat">A string used as stringFormat for the binding. This parameter is optional. Default is <see langword="null"/>.</param> |
59 | 59 | /// <remarks>The following example shows how to use the extension method to set a binding.</remarks> |
60 | 60 | [RequiresUnreferencedCode(TrimmerConstants.StringPathBindingWarning, Url = TrimmerConstants.ExpressionBasedBindingsDocsUrl)] |
@@ -122,10 +122,10 @@ public static void SetBinding(this BindableObject self, BindableProperty targetP |
122 | 122 | /// </remarks> |
123 | 123 | /// <typeparam name="TSource">The source type.</typeparam> |
124 | 124 | /// <typeparam name="TProperty">The property type.</typeparam> |
125 | | - /// <param name="self">The <see cref="T:Microsoft.Maui.Controls.BindableObject" />.</param> |
126 | | - /// <param name="targetProperty">The <see cref="T:Microsoft.Maui.Controls.BindableProperty" /> on which to set a binding.</param> |
| 125 | + /// <param name="self">The <see cref="Microsoft.Maui.Controls.BindableObject"/>.</param> |
| 126 | + /// <param name="targetProperty">The <see cref="Microsoft.Maui.Controls.BindableProperty"/> on which to set a binding.</param> |
127 | 127 | /// <param name="getter">An getter method used to retrieve the source property.</param> |
128 | | - /// <param name="mode">The binding mode. This property is optional. Default is <see cref="F:Microsoft.Maui.Controls.BindingMode.Default" />.</param> |
| 128 | + /// <param name="mode">The binding mode. This property is optional. Default is <see cref="Microsoft.Maui.Controls.BindingMode.Default"/>.</param> |
129 | 129 | /// <param name="converter">The converter. This parameter is optional. Default is <see langword="null" />.</param> |
130 | 130 | /// <param name="converterParameter">An user-defined parameter to pass to the converter. This parameter is optional. Default is <see langword="null" />.</param> |
131 | 131 | /// <param name="stringFormat">A String format. This parameter is optional. Default is <see langword="null" />.</param> |
@@ -218,10 +218,10 @@ internal static bool TrySetAppTheme( |
218 | 218 |
|
219 | 219 | public static void SetAppTheme<T>(this BindableObject self, BindableProperty targetProperty, T light, T dark) => self.SetBinding(targetProperty, new AppThemeBinding { Light = light, Dark = dark }); |
220 | 220 |
|
221 | | - /// <param name="self">To be added.</param> |
222 | | - /// <param name="targetProperty">To be added.</param> |
223 | | - /// <param name="light">To be added.</param> |
224 | | - /// <param name="dark">To be added.</param> |
| 221 | + /// <param name="self">The object instance.</param> |
| 222 | + /// <param name="targetProperty">The targetProperty parameter.</param> |
| 223 | + /// <param name="light">The light parameter.</param> |
| 224 | + /// <param name="dark">The dark parameter.</param> |
225 | 225 | public static void SetAppThemeColor(this BindableObject self, BindableProperty targetProperty, Color light, Color dark) |
226 | 226 | => SetAppTheme(self, targetProperty, light, dark); |
227 | 227 | } |
|
0 commit comments