Skip to content

Conversation

@nicolaihenriksen
Copy link
Contributor

@nicolaihenriksen nicolaihenriksen commented Mar 1, 2023

Fixes #3113

Adds RatingBar.InvertDirection dependency property which can be used to "invert" the fill direction. This is probably most useful when you want to fill from bottom and up, but the implementation also supports horizontal orientation where it then fills from right to left (probably not something anyone needs as "the same" can be achieved with FlowDirection="RightToLeft").

RatingBarInvertDirection

Adds RatingBar.InvertDirection which is then used in all calculations regarding value, fractional value, preview offsets (X and Y), and rating bar button gradient.
@nicolaihenriksen nicolaihenriksen marked this pull request as ready for review March 1, 2023 19:38
@nicolaihenriksen nicolaihenriksen requested a review from Keboo March 1, 2023 19:38
@Keboo Keboo added this to the 4.8.0 milestone Mar 2, 2023
@Keboo Keboo added release notes Items are likely to be highlighted in the release notes. enhancement labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement release notes Items are likely to be highlighted in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rating bar completed from bottom to top

3 participants