C# Class SpannedDataGridView.DataGridViewImageCellEx

Inheritance: System.Windows.Forms.DataGridViewImageCell, ISpannedCell
Exibir arquivo Open project: Behzadkhosravifar/MakeClassSchedule Class Usage Examples

Public Methods

Method Description
DataGridViewImageCellEx ( ) : System
DataGridViewImageCellEx ( bool valueIsIcon ) : System
PositionEditingPanel ( Rectangle cellBounds, Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow ) : Rectangle

Protected Methods

Method Description
BorderWidths ( System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle ) : Rectangle
GetValue ( int rowIndex ) : object
OnDataGridViewChanged ( ) : void
Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void
SetValue ( int rowIndex, object value ) : bool

Private Methods

Method Description
CellsRegionContainsSelectedCell ( int columnIndex, int rowIndex, int columnSpan, int rowSpan ) : bool
NativeBorderWidths ( System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle ) : Rectangle
NativePaint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void
SetSpan ( int columnSpan, int rowSpan ) : void

Method Details

BorderWidths() protected method

protected BorderWidths ( System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle ) : Rectangle
advancedBorderStyle System.Windows.Forms.DataGridViewAdvancedBorderStyle
return System.Drawing.Rectangle

DataGridViewImageCellEx() public method

public DataGridViewImageCellEx ( ) : System
return System

DataGridViewImageCellEx() public method

public DataGridViewImageCellEx ( bool valueIsIcon ) : System
valueIsIcon bool
return System

GetValue() protected method

protected GetValue ( int rowIndex ) : object
rowIndex int
return object

OnDataGridViewChanged() protected method

protected OnDataGridViewChanged ( ) : void
return void

Paint() protected method

protected Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, 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
cellState DataGridViewElementStates
value object
formattedValue object
errorText string
cellStyle System.Windows.Forms.DataGridViewCellStyle
advancedBorderStyle System.Windows.Forms.DataGridViewAdvancedBorderStyle
paintParts DataGridViewPaintParts
return void

PositionEditingPanel() public method

public PositionEditingPanel ( Rectangle cellBounds, Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow ) : Rectangle
cellBounds System.Drawing.Rectangle
cellClip System.Drawing.Rectangle
cellStyle System.Windows.Forms.DataGridViewCellStyle
singleVerticalBorderAdded bool
singleHorizontalBorderAdded bool
isFirstDisplayedColumn bool
isFirstDisplayedRow bool
return System.Drawing.Rectangle

SetValue() protected method

protected SetValue ( int rowIndex, object value ) : bool
rowIndex int
value object
return bool