ReactNativeIsland
Kind: class
EXPERIMENTAL
A windows composition component that hosts React Native UI elements.
Properties
FontSizeMultiplier
readonly float FontSizeMultiplier
EXPERIMENTAL
Island
readonly ContentIsland Island
EXPERIMENTAL
ReactViewHost
IReactViewHost ReactViewHost
EXPERIMENTAL
A ReactViewHost specifies the root UI component and initial properties to render in this RootViewIt must be set to show any React UI elements.
Resources
ICustomResourceLoader Resources
EXPERIMENTAL
Provides resources used for Platform colors within this RootView
RootTag
readonly int64_t RootTag
EXPERIMENTAL
RootVisual
readonly Visual RootVisual
EXPERIMENTAL
The RootVisual associated with the ReactNativeIsland. It must be set to show any React UI elements.
ScaleFactor
float ScaleFactor
EXPERIMENTAL
ScaleFactor for this windows (DPI/96)
Size
readonly Size Size
EXPERIMENTAL
Theme
readonly Theme Theme
EXPERIMENTAL
Constructors
ReactNativeIsland
ReactNativeIsland(Compositor compositor)
EXPERIMENTAL
ReactNativeIsland
ReactNativeIsland()
Methods
Arrange
void Arrange(LayoutConstraints layoutConstraints, Point viewportOffset)
EXPERIMENTAL
CreatePortal
static ReactNativeIsland CreatePortal(PortalComponentView portal)
EXPERIMENTAL
Used to create react portals, such as a native modal component.
GetUiaProvider
Object GetUiaProvider()
EXPERIMENTAL
Measure
Size Measure(LayoutConstraints layoutConstraints, Point viewportOffset)
EXPERIMENTAL
NavigateFocus
FocusNavigationResult NavigateFocus(FocusNavigationRequest request)
EXPERIMENTAL
Move focus to this ReactNativeIsland
SetProperties
void SetProperties(JSValueArgWriter props)
EXPERIMENTAL
Initial props should be set on ReactViewHost. This is used to update props after the initial props are set
Events
SizeChanged
EXPERIMENTAL