The following code will render a DataGrid inside of an area that is 400 pixels wide and 500 pixels high: