private void CreateSetup()
{
// Separation and background for the line of buttons.
this.buttonsLine = new Rectangle()
{
Width = Width,
Height = 1,
Fill = new SolidColorBrush(Color.FromRgb(223, 223, 223))
};
this.buttonsBackground = new Rectangle()
{
Width = Width,
Height = 40,
Fill = new SolidColorBrush(Color.FromRgb(240, 240, 240))
};
// Splash image.
this.sideSplash = new Image()
{
Width = 150,
Height = 482
};
this.sideSplash.Source = UIHelpers.GetImageSource("side-splash");
// Components position.
ContentCanvas.Children.Add(this.buttonsBackground);
Canvas.SetRight(buttonsBackground, 0);
Canvas.SetBottom(buttonsBackground, 0);
ContentCanvas.Children.Add(this.buttonsLine);
Canvas.SetRight(this.buttonsLine, 0);
Canvas.SetBottom(this.buttonsLine, 40);
ContentCanvas.Children.Add(this.sideSplash);
Canvas.SetLeft(this.sideSplash, 0);
Canvas.SetBottom(this.sideSplash, 0);
}