Skip to content

Instantly share code, notes, and snippets.

@cdm
Created August 15, 2016 12:14
Show Gist options
  • Save cdm/729678c40c672f413cb368db8c5984e4 to your computer and use it in GitHub Desktop.
Save cdm/729678c40c672f413cb368db8c5984e4 to your computer and use it in GitHub Desktop.
Xamarin Forms Reset
<!-- Put this inside App.xaml -->
<!-- if you don't know how to add App.xaml to your project use this guide: http://goo.gl/GuXMDD/>
<!-- Some default style resets -->
<Style TargetType="Grid">
<Setter Property="Padding"
Value="0" />
<Setter Property="RowSpacing"
Value="0" />
<Setter Property="ColumnSpacing"
Value="0" />
</Style>
<Style TargetType="StackLayout">
<Setter Property="Padding"
Value="0" />
<Setter Property="Spacing"
Value="0" />
</Style>
<Style TargetType="Frame">
<Setter Property="Padding"
Value="0" />
</Style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment