Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 867eb8c

Browse files
committed
code style
1 parent 32c7a6d commit 867eb8c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/AttachedBehaviors/SetFocusOnEntryCompletedBehavior.shared.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,14 @@ public class SetFocusOnEntryCompletedBehavior : BaseBehavior<VisualElement>
2323
/// <summary>
2424
/// Required <see cref="GetNextElement"/> accessor for <see cref="NextElementProperty"/> attached property.
2525
/// </summary>
26-
public static VisualElement GetNextElement(BindableObject view)
27-
{
28-
return (VisualElement)view.GetValue(NextElementProperty);
29-
}
26+
public static VisualElement GetNextElement(BindableObject view) =>
27+
(VisualElement)view.GetValue(NextElementProperty);
3028

3129
/// <summary>
3230
/// Required <see cref="SetNextElement"/> accessor for <see cref="NextElementProperty"/> attached property.
3331
/// </summary>
34-
public static void SetNextElement(BindableObject view, VisualElement value)
35-
{
32+
public static void SetNextElement(BindableObject view, VisualElement value) =>
3633
view.SetValue(NextElementProperty, value);
37-
}
3834

3935
static void OnNextElementChanged(BindableObject bindable, object oldValue, object newValue)
4036
{

0 commit comments

Comments
 (0)