Application

Inheritance: Element Xamarin.Forms documentation: Application API

Constructors

Properties

Events

Usages

Application(
    ContentPage(
        "Title",
        Stack() {
            Label("Hello World!")
        }
    )
)
  .userAppTheme(OSAppTheme.Light)
  .onRequestedThemeChanged(ThemeChanged)
  .onModalPopped(ModalPopped)
  .onModalPopping(ModalPopping)
  .onModalPushed(ModalPushed)
  .onModalPushing(ModalPushing)
  .onStart(Started)
  .onSleep(WentToSleep)
  .onResume(Resumed)

Get access to the underlying Xamarin.Forms.Entry

let applicationRef = ViewRef<Application>()

Application(
    ContentPage(
        "Tilte",
        Stack() {
            Label("Hello World!")
        }
    )
).reference(applicationRef)

Last updated