Skip to content

Instantly share code, notes, and snippets.

@filipoff2
Created January 7, 2020 15: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 filipoff2/954acc151a5136eb80014873ac4c16ca to your computer and use it in GitHub Desktop.
Save filipoff2/954acc151a5136eb80014873ac4c16ca to your computer and use it in GitHub Desktop.
DebugRainbow ShowColors
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:rainbows="clr-namespace:Xamarin.Forms.DebugRainbows;assembly=Xamarin.Forms.DebugRainbows"
x:Class="StyledApp.App">
<Application.Resources>
<ResourceDictionary>
<Style TargetType="ContentPage" ApplyToDerivedTypes="True">
<Setter Property="rainbows:DebugRainbow.ShowColors" Value="True" />
<Setter Property="rainbows:DebugRainbow.ShowGrid" Value="True" />
<Setter Property="rainbows:DebugRainbow.GridLineColor" Value="Orange" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>
@filipoff2
Copy link
Author

ShowColors" Value="True"
ShowGrid" Value="True"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment