A component class derives from Component and must implement the Render() method. Inside it, local fields, properties, and of course State properties of stateful components are directly accessible and can be used to compose the resulting view.
Components can also render their children by calling the base method Children(). This opens up a powerful feature that can be useful if we want to build a component that arranges its children in some way.
Say we want, for example, to create a component that arranges its children within a customizable grid, like this:
To start, let's create a component that builds our page:
classPageComponent:Component{publicoverrideVisualNodeRender()=>NavigationPage(ContentPage("Component With Children") );}
This should show an empty page with just a title, then create a component for our grid (call it WrapGrid)