Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest version 2.3.0.759 does not have BackgroundGradientEndColor, BackgroundGradientStartColor and BackgroundGradientAngle properties, how to set Gredient? #159

Open
divyesh008 opened this issue Jan 20, 2021 · 0 comments

Comments

@divyesh008
Copy link

How to set a Gradient?

The latest version of this library does not have BackgroundGradientEndColor, BackgroundGradientStartColor and BackgroundGradientAngle properties. I have tried to set gradient using like this:

 <pc:PancakeView
    Grid.Row="0" Padding="15" CornerRadius="10"
    IsClippedToBounds="True" Margin="15,0">
    <pc:PancakeView.BackgroundGradientStops>
        <pc:GradientStopCollection>
            <pc:GradientStop Color="#71D7F6" Offset="0.5" />
            <pc:GradientStop Color="#13A1CC" Offset="1" />
        </pc:GradientStopCollection>
    </pc:PancakeView.BackgroundGradientStops>
</pc:PancakeView>

~~**But it's not working

Output:

Screenshot 2021-01-20 at 7 47 03 PM
**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant