I have to display ratingbar rating from callisto. I want to only show ratings only (user can not give rating).
XAML:
<callisto:Rating Background="Transparent" x:Name="listingRatingDetail" Margin="0,0,0,0" Foreground="#FFFF6666" ItemCount="5" Value="{Binding Rating}" ReadOnlyFill="{x:Null}" BorderBrush="{x:Null}" PointerOverFill="{x:Null}" PointerPressedFill="{x:Null}" FontSize="14"/>
How to apply it to only show ratings?
Note:
I using C# languange
Have you tried setting the IsEnabled
property to false
? It makes the control read-only.
Hope it helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.