ClassKeyboardHelper
A helper class that is used to displace views when the soft keyboard is open, so that the keyboard does not hide the views.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public static class KeyboardHelper
Inheritance: objectKeyboardHelper
Fields
IsTabStopProperty
Identifies the IsTabStop attached property.
Controls whether a View participates in tab navigation on desktop platforms.
Declaration
public static readonly BindableProperty IsTabStopProperty
Field Value
BindableProperty
IsTranslationPivotProperty
Identifies the IsTranslationPivot attached property.
Declaration
public static readonly BindableProperty IsTranslationPivotProperty
Field Value
BindableProperty
IsTranslationSourceProperty
Identifies the IsTranslationSource attached property.
Declaration
public static readonly BindableProperty IsTranslationSourceProperty
Field Value
BindableProperty
IsTranslationTargetProperty
Identifies the IsTranslationTarget attached property.
Declaration
public static readonly BindableProperty IsTranslationTargetProperty
Field Value
BindableProperty
Methods
GetIsTabStop(View)
Gets the value of the IsTabStopProperty attached property for the given view.
Declaration
public static bool? GetIsTabStop(View view)
Parameters
view
View
Returns
bool?
GetIsTranslationPivot(BindableObject)
Gets a value indicating whether the view (the bindable object) is a translation pivot in Android and iOS, i.e. this is the view that should remain visible when the translation source is focused and the translation target is displaced (the total translation of the target depends on the position of the translation pivot view).
Declaration
public static bool GetIsTranslationPivot(BindableObject bindable)
Parameters
bindable
BindableObject
Returns
GetIsTranslationSource(BindableObject)
Gets a value indicating whether the view (the bindable object) is a translation source in Android and iOS, i.e. if this view should trigger displacement of the translation target when the view is focused.
Declaration
public static bool GetIsTranslationSource(BindableObject bindable)
Parameters
bindable
BindableObject
Returns
GetIsTranslationTarget(BindableObject)
Gets a value indicating whether the view (the bindable object) is a translation target in Android and iOS, i.e. if this view should be displaced when the translation source view is focused, so that the translation pivot is not hidden by the keyboard.
Declaration
public static bool GetIsTranslationTarget(BindableObject bindable)
Parameters
bindable
BindableObject
Returns
SetIsTabStop(View, bool?)
Sets the value of the IsTabStopProperty attached property on the given view.
Declaration
public static void SetIsTabStop(View view, bool? value)
Parameters
view
View
value
bool?
SetIsTranslationPivot(BindableObject, bool)
Sets a value indicating whether the view (the bindable object) is a translation pivot in Android and iOS, i.e. this is the view that should remain visible when the translation source is focused and the translation target is displaced (the total translation of the target depends on the position of the translation pivot view).
Declaration
public static void SetIsTranslationPivot(BindableObject bindable, bool value)
Parameters
bindable
BindableObject
value
SetIsTranslationSource(BindableObject, bool)
Sets a value indicating whether the view (the bindable object) is a translation source in Android and iOS, i.e. if this view should trigger displacement of the translation target when the view is focused.
Declaration
public static void SetIsTranslationSource(BindableObject bindable, bool value)
Parameters
bindable
BindableObject
value
SetIsTranslationTarget(BindableObject, bool)
Sets a value indicating whether the view (the bindable object) is a translation target in Android and iOS, i.e. if this view should be displaced when the translation source view is focused, so that the translation pivot is not hidden by the keyboard.
Declaration
public static void SetIsTranslationTarget(BindableObject bindable, bool value)
Parameters
bindable
BindableObject
value