Skip to content

Instantly share code, notes, and snippets.

@bbenetskyy
Created October 10, 2019 11:59
Show Gist options
  • Save bbenetskyy/009c82266e80424b306c585888dfa70c to your computer and use it in GitHub Desktop.
Save bbenetskyy/009c82266e80424b306c585888dfa70c to your computer and use it in GitHub Desktop.
Simple Linear Gradient in XAML
<magic:GradientView VerticalOptions="FillAndExpand">
<magic:GradientView.GradientSource>
<magic:LinearGradient Angle="90">
<magic:GradientStop Color="Red" Offset="0" />
<magic:GradientStop Color="Yellow" Offset="1" />
</magic:LinearGradient>
</magic:GradientView.GradientSource>
</magic:GradientView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment