Skip to content

Instantly share code, notes, and snippets.

@kevingosse
Created January 12, 2016 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevingosse/18d5ad3eb4c251b03f7d to your computer and use it in GitHub Desktop.
Save kevingosse/18d5ad3eb4c251b03f7d to your computer and use it in GitHub Desktop.
public AdaptiveImage()
{
this.LayoutRoot = new Grid();
this.Content = this.LayoutRoot;
this.ProgressIndicator = new ProgressRing
{
Foreground = new SolidColorBrush { Color = Colors.White },
Width = 100,
Height = 100,
HorizontalAlignment = HorizontalAlignment.Stretch,
VerticalAlignment = VerticalAlignment.Stretch
};
}
protected Grid LayoutRoot { get; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment