/// <summary> /// Refreshes RTL/LTR direction on all root views. /// </summary> public void UpdateLayoutDirection() { // RTL/LTR is implemented through Xaml FlowDirection, so we keep Yoga oblivious of this. _operationsQueue.UpdateRootViewNodesDirection(); if (_operationsQueue.IsEmpty()) { DispatchViewUpdates(-1 /* no associated batch id */); } }