Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior Class Reference

Used for moving focus to the next UI component when a button has been clicked. More...

Inheritance diagram for NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior:

Static Public Attributes

static readonly BindableProperty IsEnabledProperty
 A BindableProperty for IsEnabled property. More...
 

Protected Member Functions

override void OnAttachedTo (VisualElement bindable)
 
override void OnDetachingFrom (VisualElement bindable)
 

Properties

ScrollView? TargetScrollView [get, set]
 The ScrollView to scroll. If null, the first parent ScrollView will be used. More...
 
VisualElement? TargetElement [get, set]
 The element to scroll to. If null, the element that has focus will be scrolled to. More...
 
ScrollToPosition ScrollToPosition = ScrollToPosition.Start [get, set]
 The scroll behavior to use when scrolling to the element. More...
 
bool IsEnabled [get, set]
 Gets or sets a value indicating if behavior is enabled or disabled More...
 

Detailed Description

Used for moving focus to the next UI component when a button has been clicked.

Definition at line 11 of file ScrollToOnFocusBehaviour.cs.

Member Function Documentation

◆ OnAttachedTo()

override void NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.OnAttachedTo ( VisualElement  bindable)
protected

Definition at line 45 of file ScrollToOnFocusBehaviour.cs.

◆ OnDetachingFrom()

override void NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.OnDetachingFrom ( VisualElement  bindable)
protected

Definition at line 56 of file ScrollToOnFocusBehaviour.cs.

Member Data Documentation

◆ IsEnabledProperty

readonly BindableProperty NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.IsEnabledProperty
static
Initial value:
=
BindableProperty.Create(nameof(IsEnabled), typeof(bool), typeof(ScrollToClickedBehavior), true)
bool IsEnabled
Gets or sets a value indicating if behavior is enabled or disabled

A BindableProperty for IsEnabled property.

Definition at line 33 of file ScrollToOnFocusBehaviour.cs.

Property Documentation

◆ IsEnabled

bool NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.IsEnabled
getset

Gets or sets a value indicating if behavior is enabled or disabled

Definition at line 39 of file ScrollToOnFocusBehaviour.cs.

◆ ScrollToPosition

ScrollToPosition NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.ScrollToPosition = ScrollToPosition.Start
getset

The scroll behavior to use when scrolling to the element.

Definition at line 28 of file ScrollToOnFocusBehaviour.cs.

◆ TargetElement

VisualElement? NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.TargetElement
getset

The element to scroll to. If null, the element that has focus will be scrolled to.

Definition at line 23 of file ScrollToOnFocusBehaviour.cs.

◆ TargetScrollView

ScrollView? NeuroAccessMaui.UI.Behaviors.ScrollToOnFocusBehavior.TargetScrollView
getset

The ScrollView to scroll. If null, the first parent ScrollView will be used.

Definition at line 17 of file ScrollToOnFocusBehaviour.cs.


The documentation for this class was generated from the following file: