XamlUIService
XamlUIService
provides access to XAML UI specific functionality. It provides access to APIs to get a XAML element from a react tag, and to dispatch events to JS components.
Reference
Methods
FromContext()
static XamlUIService FromContext(IReactContext context);
Use this method to gain access to the XamlUIService from a ReactContext.
ElementFromReactTag()
Windows.UI.Xaml.DependencyObject ElementFromReactTag(Int64 reactTag);
Get the backing XAML element, from a react tag.
DispatchEvent()
void DispatchEvent(Windows.UI.Xaml.FrameworkElement view, String eventName, JSValueArgWriter eventDataArgWriter);
Dispatch an event to a JS component.