Skip to main content
Version: 0.84

ReactRootView

Kind: class

Extends: Grid

A XAML component that hosts React Native UI elements.

Properties​

ComponentName​

string ComponentName

The name of the root UI component registered in JavaScript with help of the AppRegistry.registerComponent method.

InitialProps​

JSValueArgWriter InitialProps

The JSValueArgWriter that is used to serialize the main component initial properties.

IsPerspectiveEnabled​

bool IsPerspectiveEnabled

Default value: true

XAML's default projection in 3D is orthographic (all lines are parallel) However React Native's default projection is a one-point perspective. This property enables setting a default perspective projection on the main control to mimic this.

ReactNativeHost​

ReactNativeHost ReactNativeHost

The ReactNativeHost associated with the ReactRootView. It must be set to show any React UI elements.

Constructors​

ReactRootView​

ReactRootView()

Methods​

ReloadView​

void ReloadView()

Reloads the current ReactRootView UI components.

Referenced by​