Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Controls/docs/Microsoft.Maui.Controls/ListView.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<remarks>
<para>For memory and performance reasons, application developers should strongly prefer <see cref="F:Microsoft.Maui.Controls.ListViewCachingStrategy.RecycleElement" />, when possible. See <see cref="T:Microsoft.Maui.Controls.ListViewCachingStrategy" /> for more details.</para>
<para>
<block type="note">When developers specify <see cref="F:Microsoft.Maui.Controls.ListViewCachingStrategy.RecycleElement" />, <c>OnElementChanged</c> events are not raised when cells are recycled. Instead, the cell is retained and its property values change when the binding context is updated to that of an available cell, <c>OnElementPropertyChanged</c> events are raised. Application developers should remember to listen for the correct events, and should note that their renderers will need to be updated if the default behavior changes to <see cref="F:Microsoft.Maui.Controls.ListViewCachingStrategy.RecycleElement" /> in a future release. </block>
When developers specify <see cref="F:Microsoft.Maui.Controls.ListViewCachingStrategy.RecycleElement" />, <c>OnElementChanged</c> events are not raised when cells are recycled. Instead, the cell is retained and its property values change when the binding context is updated to that of an available cell, <c>OnElementPropertyChanged</c> events are raised. Application developers should remember to listen for the correct events, and should note that their renderers will need to be updated if the default behavior changes to <see cref="F:Microsoft.Maui.Controls.ListViewCachingStrategy.RecycleElement" /> in a future release.
</para>
</remarks>
</Docs>
Expand Down Expand Up @@ -1892,7 +1892,7 @@ ListView CreateListView()
<summary>Application developers override this method to register event handlers for list view items.</summary>
<remarks>
<para>Application developers must call <see cref="M:Microsoft.Maui.Controls.ListView.SetupContent(Microsoft.Maui.Controls.Cell,System.Int32)" /> before performing any other action when overriding this method.</para>
<block type="note">Application developers who override this method to allocate resources must override <see cref="M:Microsoft.Maui.Controls.ListView.UnhookContent(Microsoft.Maui.Controls.Cell)" /> in order to deallocate them.</block>
<para>Application developers who override this method to allocate resources must override <see cref="M:Microsoft.Maui.Controls.ListView.UnhookContent(Microsoft.Maui.Controls.Cell)" /> in order to deallocate them.</para>
</remarks>
</Docs>
</Member>
Expand Down Expand Up @@ -1920,7 +1920,7 @@ ListView CreateListView()
<summary>Application developers override this method to unregister event handlers for list view items that they registered in <see cref="M:Microsoft.Maui.Controls.ListView.SetupContent(Microsoft.Maui.Controls.Cell,System.Int32)" />.</summary>
<remarks>
<para>Application developers must call <see cref="M:Microsoft.Maui.Controls.ListView.UnhookContent(Microsoft.Maui.Controls.Cell)" /> before performing any other action when overriding this method.</para>
<block type="note">Application developers who override <see cref="M:Microsoft.Maui.Controls.ListView.SetupContent(Microsoft.Maui.Controls.Cell,System.Int32)" /> to allocate resources must override this method in order to deallocate them.</block>
<para>Application developers who override <see cref="M:Microsoft.Maui.Controls.ListView.SetupContent(Microsoft.Maui.Controls.Cell,System.Int32)" /> to allocate resources must override this method in order to deallocate them.</para>
</remarks>
</Docs>
</Member>
Expand Down
9 changes: 8 additions & 1 deletion src/Controls/src/Core/HybridWebView/HybridWebView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ public void SendRawMessage(string rawMessage)
});
}

/// <inheritdoc/>
/// <summary>
/// Invokes a JavaScript method named <paramref name="methodName"/> and optionally passes in the parameter values specified
/// by <paramref name="paramValues"/> by JSON-encoding each one.
/// </summary>
/// <param name="methodName">The name of the JavaScript method to invoke.</param>
/// <param name="paramValues">Optional array of objects to be passed to the JavaScript method by JSON-encoding each one.</param>
/// <param name="paramJsonTypeInfos">Optional array of metadata about serializing the types of the parameters specified by <paramref name="paramValues"/>.</param>
/// <returns>A <see cref="Task"/> object with the current status of the asynchronous operation.</returns>
public async Task InvokeJavaScriptAsync(
string methodName,
object?[]? paramValues = null,
Expand Down
22 changes: 11 additions & 11 deletions src/Core/src/Primitives/Keyboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,57 +36,57 @@ internal Keyboard()
}

/// <summary>
/// Returns a new <see cref="CustomKeyboard"/> with <see cref="KeyboardFlags.None"/>.
/// Returns a new keyboard with no special flags.
/// </summary>
public static Keyboard Plain => s_plain ??= new CustomKeyboard(KeyboardFlags.None);

/// <summary>
/// Gets an instance of type <see cref="ChatKeyboard"/>.
/// Gets a keyboard optimized for chat input.
/// </summary>
public static Keyboard Chat => s_chat ??= new ChatKeyboard();

/// <summary>
/// Gets an instance of type <see cref="Keyboard"/>.
/// Gets the default keyboard.
/// </summary>
public static Keyboard Default => s_def ??= new Keyboard();

/// <summary>
/// Gets an instance of type <see cref="EmailKeyboard"/>.
/// Gets a keyboard optimized for email input.
/// </summary>
public static Keyboard Email => s_email ??= new EmailKeyboard();

/// <summary>
/// Gets an instance of type <see cref="NumericKeyboard"/>.
/// Gets a keyboard optimized for numeric input.
/// </summary>
public static Keyboard Numeric => s_numeric ??= new NumericKeyboard();

/// <summary>
/// Gets an instance of type <see cref="TelephoneKeyboard"/>.
/// Gets a keyboard optimized for telephone number input.
/// </summary>
public static Keyboard Telephone => s_telephone ??= new TelephoneKeyboard();

/// <summary>
/// Gets an instance of type <see cref="TextKeyboard"/>.
/// Gets a keyboard optimized for text input.
/// </summary>
public static Keyboard Text => s_text ??= new TextKeyboard();

/// <summary>
/// Gets an instance of type <see cref="UrlKeyboard"/>.
/// Gets a keyboard optimized for URL input.
/// </summary>
public static Keyboard Url => s_url ??= new UrlKeyboard();

/// <summary>
/// Gets an instance of type <see cref="DateKeyboard"/>.
/// Gets a keyboard optimized for date input.
/// </summary>
public static Keyboard Date => s_date ??= new DateKeyboard();

/// <summary>
/// Gets an instance of type <see cref="PasswordKeyboard"/>.
/// Gets a keyboard optimized for password input.
/// </summary>
public static Keyboard Password => s_password ??= new PasswordKeyboard();

/// <summary>
/// Gets an instance of type <see cref="TimeKeyboard"/>.
/// Gets a keyboard optimized for time input.
/// </summary>
public static Keyboard Time => s_time ??= new TimeKeyboard();

Expand Down
Loading