메소드 | 설명 | |
---|---|---|
ImageCellRenderer ( ) : System |
Initializes a new instance of the ImageCellRenderer class with default settings
|
|
OnPaintCell ( |
Raises the PaintCell event
|
메소드 | 설명 | |
---|---|---|
CalcImageRect ( Image image, ImageSizeMode sizeMode, RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : |
Gets the Rectangle that specifies the Size and Location of the Image contained in the current Cell
|
|
DrawImage ( |
Draws the Image contained in the Cell
|
|
OnPaint ( |
Raises the Paint event
|
protected CalcImageRect ( Image image, ImageSizeMode sizeMode, RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : |
||
image | Image | The Image to be drawn |
sizeMode | ImageSizeMode | An ImageSizeMode that specifies how the /// specified Image is scaled |
rowAlignment | RowAlignment | The alignment of the current Cell's row |
columnAlignment | ColumnAlignment | The alignment of the current Cell's Column |
리턴 |
protected DrawImage ( |
||
g | The Graphics used to paint the Image | |
image | Image | The Image to be drawn |
imageRect | A rectangle that specifies the Size and /// Location of the Image | |
scaled | bool | Specifies whether the image is to be scaled |
enabled | bool | Specifies whether the Image should be drawn /// in an enabled state |
리턴 | void |
protected OnPaint ( |
||
e | A PaintCellEventArgs that contains the event data | |
리턴 | void |
public OnPaintCell ( |
||
e | A PaintCellEventArgs that contains the event data | |
리턴 | void |