ClassKeyboardHelper
A helper class that is used to displace views in iOS 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
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
GetIsTranslationPivot(BindableObject)
Gets a value indicating whether the view (the bindable object) is a translation pivot in 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 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 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
SetIsTranslationPivot(BindableObject, bool)
Sets a value indicating whether the view (the bindable object) is a translation pivot in 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 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 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