MindFusion.Wpf Pack Programmer's Guide
Rating Class
See Also
 





Provides the ability to select and display ratings in a variety of formats.

Namespace: MindFusion.UI.Wpf
Assembly: MindFusion.UI.Wpf

 Syntax

C#  Copy Code

public class Rating : Control

Visual Basic  Copy Code

Public Class Rating
    Inherits Control

 Example

The following example declares a Rating control with custom shapes for the rating elements:

XAML  Copy Code

<ui:Rating Width="200" Height="200" ShapeData="M0.5,0 L0.7,0.2 L1,0.25 L0.75,0.5 L1,0.75 L0.7,0.8 L0.5,1 L0.3,0.8 L0,0.75 L0.25,0.5 L0,0.25 L0.3,0.2 z" HeaderText="Rating" FontFamily="Arial" FontSize="16" FontWeight="Bold" />

Here is an image illustrating the result:

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        System.Windows.Controls.Control
                            MindFusion.UI.Wpf.Rating

 See Also

Rating Members
MindFusion.UI.Wpf Namespace