Access layout Pane properties by script

I would like to access the properties of pane1, specifically to change the background via a script. I know that in some cases, the myContent object can be used, but that's not applicable here. Is there a way to access the Pane directly?