public AddNewScriptBrickView()
{
InitializeComponent();
var bounds = Window.Current.Bounds;
double height = bounds.Height * 0.88;
double width = bounds.Width * 0.95;
CatrobatListView view = this.FindName("Top") as CatrobatListView;
if (view != null)
{
view.ItemWidthLandscape = (int)height;
view.ItemWidthPortrait = (int)width;
}
}