Class NoirRenderer
A renderer with a dark theme. This renderer cannot be themed.
Implements
Inherited Members
Namespace: Manina.Windows.Forms.ImageListViewRenderers
Assembly: ImageListView.dll
Syntax
public class NoirRenderer : ImageListView.ImageListViewRenderer, IDisposable
Constructors
| Improve this Doc View SourceNoirRenderer()
Initializes a new instance of the NoirRenderer class.
Declaration
public NoirRenderer()
NoirRenderer(Int32)
Initializes a new instance of the NoirRenderer class.
Declaration
public NoirRenderer(int reflectionSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | reflectionSize | Size of image reflections. |
Properties
| Improve this Doc View SourceCanApplyColors
Gets a value indicating whether this renderer can apply custom colors.
Declaration
public override bool CanApplyColors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReflectionSize
Gets or sets the size of image reflections.
Declaration
public int ReflectionSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDrawBackground(Graphics, Rectangle)
Draws the background of the control.
Declaration
public override void DrawBackground(Graphics g, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
System.Drawing.Rectangle | bounds | The client coordinates of the item area. |
Overrides
| Improve this Doc View SourceDrawCheckBox(Graphics, ImageListViewItem, Rectangle)
Draws the checkbox icon for the specified item on the given graphics.
Declaration
public override void DrawCheckBox(Graphics g, ImageListViewItem item, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListViewItem | item | The ImageListViewItem to draw. |
System.Drawing.Rectangle | bounds | The bounding rectangle of the checkbox in client coordinates. |
Overrides
| Improve this Doc View SourceDrawColumnExtender(Graphics, Rectangle)
Draws the extender after the last column.
Declaration
public override void DrawColumnExtender(Graphics g, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
System.Drawing.Rectangle | bounds | The bounding rectangle of extender column in client coordinates. |
Overrides
| Improve this Doc View SourceDrawColumnHeader(Graphics, ImageListView.ImageListViewColumnHeader, ColumnState, Rectangle)
Draws the column headers.
Declaration
public override void DrawColumnHeader(Graphics g, ImageListView.ImageListViewColumnHeader column, ColumnState state, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListView.ImageListViewColumnHeader | column | The ImageListViewColumnHeader to draw. |
ColumnState | state | The current view state of column. |
System.Drawing.Rectangle | bounds | The bounding rectangle of column in client coordinates. |
Overrides
| Improve this Doc View SourceDrawFileIcon(Graphics, ImageListViewItem, Rectangle)
Draws the file icon for the specified item on the given graphics.
Declaration
public override void DrawFileIcon(Graphics g, ImageListViewItem item, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListViewItem | item | The ImageListViewItem to draw. |
System.Drawing.Rectangle | bounds | The bounding rectangle of the file icon in client coordinates. |
Overrides
| Improve this Doc View SourceDrawGalleryImage(Graphics, ImageListViewItem, Image, Rectangle)
Draws the large preview image of the focused item in Gallery mode.
Declaration
public override void DrawGalleryImage(Graphics g, ImageListViewItem item, Image image, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListViewItem | item | The ImageListViewItem to draw. |
System.Drawing.Image | image | The image to draw. |
System.Drawing.Rectangle | bounds | The bounding rectangle of the preview area. |
Overrides
| Improve this Doc View SourceDrawGroupHeader(Graphics, String, Rectangle)
Draws the group headers.
Declaration
public override void DrawGroupHeader(Graphics g, string name, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
System.String | name | The name of the group to draw. |
System.Drawing.Rectangle | bounds | The bounding rectangle of group in client coordinates. |
Overrides
| Improve this Doc View SourceDrawInsertionCaret(Graphics, Rectangle)
Draws the insertion caret for drag and drop operations.
Declaration
public override void DrawInsertionCaret(Graphics g, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
System.Drawing.Rectangle | bounds | The bounding rectangle of the insertion caret. |
Overrides
| Improve this Doc View SourceDrawItem(Graphics, ImageListViewItem, ItemState, Rectangle)
Draws the specified item on the given graphics.
Declaration
public override void DrawItem(Graphics g, ImageListViewItem item, ItemState state, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListViewItem | item | The ImageListViewItem to draw. |
ItemState | state | The current view state of item. |
System.Drawing.Rectangle | bounds | The bounding rectangle of item in client coordinates. |
Overrides
| Improve this Doc View SourceDrawPane(Graphics, ImageListViewItem, Image, Rectangle)
Draws the left pane in Pane view mode.
Declaration
public override void DrawPane(Graphics g, ImageListViewItem item, Image image, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListViewItem | item | The ImageListViewItem to draw. |
System.Drawing.Image | image | The image to draw. |
System.Drawing.Rectangle | bounds | The bounding rectangle of the pane. |
Overrides
| Improve this Doc View SourceDrawSelectionRectangle(Graphics, Rectangle)
Draws the selection rectangle.
Declaration
public override void DrawSelectionRectangle(Graphics g, Rectangle selection)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
System.Drawing.Rectangle | selection | The client coordinates of the selection rectangle. |
Overrides
| Improve this Doc View SourceMeasureItem(View)
Returns item size for the given view mode.
Declaration
public override Size MeasureItem(View view)
Parameters
Type | Name | Description |
---|---|---|
View | view | The view mode for which the measurement should be made. |
Returns
Type | Description |
---|---|
System.Drawing.Size | The item size. |