C# Class MPTagThat.Core.RatingCell

Inheritance: System.Windows.Forms.DataGridViewImageCell
Mostra file Open project: MediaPortal/MPTagThat Class Usage Examples

Protected Methods

Method Description
GetFormattedValue ( object value, int rowIndex, System.Windows.Forms.DataGridViewCellStyle &cellStyle, TypeConverter valueTypeConverter, TypeConverter formattedValueTypeConverter, DataGridViewDataErrorContexts context ) : object
OnContentClick ( System.Windows.Forms.DataGridViewCellEventArgs e ) : void
OnMouseLeave ( int rowIndex ) : void
OnMouseMove ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void

Private Methods

Method Description
GetStarFromMouse ( Rectangle cellBounds, Point mouseLocation ) : int
RatingCell ( ) : System

Method Details

GetFormattedValue() protected method

protected GetFormattedValue ( object value, int rowIndex, System.Windows.Forms.DataGridViewCellStyle &cellStyle, TypeConverter valueTypeConverter, TypeConverter formattedValueTypeConverter, DataGridViewDataErrorContexts context ) : object
value object
rowIndex int
cellStyle System.Windows.Forms.DataGridViewCellStyle
valueTypeConverter System.ComponentModel.TypeConverter
formattedValueTypeConverter System.ComponentModel.TypeConverter
context DataGridViewDataErrorContexts
return object

OnContentClick() protected method

protected OnContentClick ( System.Windows.Forms.DataGridViewCellEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( int rowIndex ) : void
rowIndex int
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellMouseEventArgs
return void

Paint() protected method

protected Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void
graphics System.Drawing.Graphics
clipBounds System.Drawing.Rectangle
cellBounds System.Drawing.Rectangle
rowIndex int
elementState DataGridViewElementStates
value object
formattedValue object
errorText string
cellStyle System.Windows.Forms.DataGridViewCellStyle
advancedBorderStyle System.Windows.Forms.DataGridViewAdvancedBorderStyle
paintParts DataGridViewPaintParts
return void