Class HardwareKeyPage
Required to enable Hardware Key Listening capability
Inheritance
HardwareKeyPage
Implements
Inherited Members
Xamarin.Forms.TemplatedPage.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public class HardwareKeyPage : ContentPage, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, INavigationProxy, IStyleSelectable, IAnimatable, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable, ILayout, IPageController, IVisualElementController, IElementController, IElementConfiguration<Page>, IPaddingElement, IControlTemplated
Properties
DefaultFocusedElement
Gets or sets the default focused element - the element who's HardwareKeyListeners are active if no element has focus
Declaration
public static VisualElement DefaultFocusedElement { get; set; }
Property Value
Type | Description |
---|---|
VisualElement | The default focused element. |
FocusedElement
Gets or sets the currently focused element - the element who'sHardwareKeyListeners are currently active
Declaration
public static VisualElement FocusedElement { get; set; }
Property Value
Type | Description |
---|---|
VisualElement | The focused element. |
Methods
OnAppearing()
Called when the HardwareKeyPage appears
Declaration
protected override void OnAppearing()
Overrides
OnDisappearing()
Called when the HardwareKeyPage disappers
Declaration
protected override void OnDisappearing()
Overrides
Events
FocusedElementChanged
Event called when the HardwareKay.FocusedElement has changed
Declaration
public static event EventHandler FocusedElementChanged
Event Type
Type | Description |
---|---|
EventHandler |