Application
Inheritance: Element Xamarin.Forms documentation: Application API
Constructors
Application<‘msg, ‘marker when ‘marker :> IPage>(mainPage: WidgetBuilder<‘msg, ‘marker>)
Creates a new instance of the Application with a Page
Properties
userAppTheme(value: OSAppTheme)
Sets the application theme.
resources(value: ResourceDictionary)
Sets the global resources for the application.
reference(value: ViewRef<Application>)
Sets a ViewRef
instance to retrieve the Xamarin.Forms.Application
instance associated to this widget
Events
onRequestedThemeChanged(onRequestedThemeChanged: OSAppTheme -> ‘msg)
Event that is fired when the application theme is changed.
onModalPopped(onModalPopped: ModalPoppedEventArgs -> ‘msg)
Event that is fired when a modal page is popped.
onModalPopping(onModalPopping: ModalPoppingEventArgs -> ‘msg)
Event that is fired when a modal page is popping.
onModalPushed(onModalPushed: ModalPushedEventArgs -> ‘msg)
Event that is fired when a modal page is pushed.
onModalPushing(onModalPushing: ModalPushingEventArgs -> ‘msg)
Event that is fired when a modal page is pushing.
onStart(onStart: ‘msg)
Dispatch a message when the application starts
onSleep(onSleep: ‘msg)
Dispatch a message when the application is paused by the OS
onResume(onResume: ‘msg)
Dispatch a message when the application is resumed by the OS
Usages
Get access to the underlying Xamarin.Forms.Entry
Last updated