Provider for a Surface. You can use this at some high level in your UI - some common parent component between the
parent of where you want to put a Surface and where you want to put some other component such as miniview, controls
or drag/drop. Whenever a SurfaceComponent is declared as a descendant of this provider, the provider's underlying
surface is set and this is propagated to all the other components using this context. To use this you just
declare a SurfaceProvider element and put some children inside of it
Provider for a Surface. You can use this at some high level in your UI - some common parent component between the parent of where you want to put a Surface and where you want to put some other component such as miniview, controls or drag/drop. Whenever a
SurfaceComponent
is declared as a descendant of this provider, the provider's underlying surface is set and this is propagated to all the other components using this context. To use this you just declare a SurfaceProvider element and put some children inside of it