C# Class NaturalGroundingPlayer.RatingViewerControl

Interaction logic for RatingViewerControl.xaml
Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Public Methods

Method Description
DisplayValue ( System.Windows.Controls.TextBlock obj, MediaRating rating, double ratio ) : void
RatingViewerControl ( ) : System
UpdatePreference ( ) : bool

Updates the Preference field if edited.

Private Methods

Method Description
CreateToolTip ( System.Windows.Controls.TextBlock ctrl, MediaRating rating ) : void
DisplayData ( ) : void
DisplayToolTips ( ) : void

Method Details

DisplayValue() public static method

public static DisplayValue ( System.Windows.Controls.TextBlock obj, MediaRating rating, double ratio ) : void
obj System.Windows.Controls.TextBlock
rating DataAccess.MediaRating
ratio double
return void

RatingViewerControl() public method

public RatingViewerControl ( ) : System
return System

UpdatePreference() public method

Updates the Preference field if edited.
public UpdatePreference ( ) : bool
return bool