You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/MaxLengthReachedBehavior.shared.cs
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,20 +7,35 @@
7
7
8
8
namespaceXamarin.CommunityToolkit.Behaviors
9
9
{
10
+
/// <summary>
11
+
/// The <see cref="MaxLengthReachedBehavior"/> is a behavior that allows the user to trigger an action when a user has reached the maximum length allowed on an <see cref="InputView"/>. It can either trigger a <see cref="ICommand"/> or an event depending on the user's preferred scenario.
/// Command that is triggered when the value configured in <see cref="InputView.MaxLength" /> is reached. Both the <see cref="MaxLengthReached"/> event and this command are triggered. This is a bindable property.
23
+
/// </summary>
15
24
publicICommandCommand
16
25
{
17
26
get=>(ICommand)GetValue(CommandProperty);
18
27
set=>SetValue(CommandProperty,value);
19
28
}
20
29
30
+
/// <summary>
31
+
/// Backing BindableProperty for the <see cref="ShouldDismissKeyboardAutomatically"/> property.
/// Event that is triggered when the value configured in <see cref="InputView.MaxLength" /> is reached. Both the <see cref="Command"/> and this event are triggered. This is a bindable property.
0 commit comments