C# Класс MPTagThat.Core.RatingCell

Наследование: System.Windows.Forms.DataGridViewImageCell
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
GetStarFromMouse ( Rectangle cellBounds, Point mouseLocation ) : int
RatingCell ( ) : System

Описание методов

GetFormattedValue() защищенный Метод

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
Результат object

OnContentClick() защищенный Метод

protected OnContentClick ( System.Windows.Forms.DataGridViewCellEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellEventArgs
Результат void

OnMouseLeave() защищенный Метод

protected OnMouseLeave ( int rowIndex ) : void
rowIndex int
Результат void

OnMouseMove() защищенный Метод

protected OnMouseMove ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellMouseEventArgs
Результат void

Paint() защищенный Метод

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
Результат void