Show / Hide Table of Contents

Class NoirRenderer

A renderer with a dark theme. This renderer cannot be themed.

Inheritance
System.Object
ImageListView.ImageListViewRenderer
NoirRenderer
Implements
System.IDisposable
Inherited Members
ImageListView.ImageListViewRenderer.ImageListView
ImageListView.ImageListViewRenderer.Clip
ImageListView.ImageListViewRenderer.ItemDrawOrder
ImageListView.ImageListViewRenderer.ItemsDrawnFirst
ImageListView.ImageListViewRenderer.ClientBounds
ImageListView.ImageListViewRenderer.ItemAreaBounds
ImageListView.ImageListViewRenderer.ColumnHeaderBounds
ImageListView.ImageListViewRenderer.PreferredColors
ImageListView.ImageListViewRenderer.GetImageAsync(ImageListViewItem, Size)
ImageListView.ImageListViewRenderer.IDisposable.Dispose()
ImageListView.ImageListViewRenderer.InitializeGraphics(Graphics)
ImageListView.ImageListViewRenderer.MeasureGroupHeaderHeight()
ImageListView.ImageListViewRenderer.MeasureColumnHeaderHeight()
ImageListView.ImageListViewRenderer.MeasureItemMargin(View)
ImageListView.ImageListViewRenderer.DrawBorder(Graphics, Rectangle)
ImageListView.ImageListViewRenderer.DrawSubItemItemOverlay(Graphics, ImageListViewItem, ItemState, Int32, Boolean, Rectangle)
ImageListView.ImageListViewRenderer.DrawOverlay(Graphics, Rectangle)
ImageListView.ImageListViewRenderer.Dispose()
ImageListView.ImageListViewRenderer.OnLayout(LayoutEventArgs)
Namespace: Manina.Windows.Forms.ImageListViewRenderers
Assembly: ImageListView.dll
Syntax
public class NoirRenderer : ImageListView.ImageListViewRenderer, IDisposable

Constructors

| Improve this Doc View Source

NoirRenderer()

Initializes a new instance of the NoirRenderer class.

Declaration
public NoirRenderer()
| Improve this Doc View Source

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 Source

CanApplyColors

Gets a value indicating whether this renderer can apply custom colors.

Declaration
public override bool CanApplyColors { get; }
Property Value
Type Description
System.Boolean
Overrides
ImageListView.ImageListViewRenderer.CanApplyColors
| Improve this Doc View Source

ReflectionSize

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 Source

DrawBackground(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
ImageListView.ImageListViewRenderer.DrawBackground(Graphics, Rectangle)
| Improve this Doc View Source

DrawCheckBox(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
ImageListView.ImageListViewRenderer.DrawCheckBox(Graphics, ImageListViewItem, Rectangle)
| Improve this Doc View Source

DrawColumnExtender(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
ImageListView.ImageListViewRenderer.DrawColumnExtender(Graphics, Rectangle)
| Improve this Doc View Source

DrawColumnHeader(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
ImageListView.ImageListViewRenderer.DrawColumnHeader(Graphics, ImageListView.ImageListViewColumnHeader, ColumnState, Rectangle)
| Improve this Doc View Source

DrawFileIcon(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
ImageListView.ImageListViewRenderer.DrawFileIcon(Graphics, ImageListViewItem, Rectangle)
| Improve this Doc View Source

DrawGalleryImage(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
ImageListView.ImageListViewRenderer.DrawGalleryImage(Graphics, ImageListViewItem, Image, Rectangle)
| Improve this Doc View Source

DrawGroupHeader(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
ImageListView.ImageListViewRenderer.DrawGroupHeader(Graphics, String, Rectangle)
| Improve this Doc View Source

DrawInsertionCaret(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
ImageListView.ImageListViewRenderer.DrawInsertionCaret(Graphics, Rectangle)
| Improve this Doc View Source

DrawItem(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
ImageListView.ImageListViewRenderer.DrawItem(Graphics, ImageListViewItem, ItemState, Rectangle)
| Improve this Doc View Source

DrawPane(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
ImageListView.ImageListViewRenderer.DrawPane(Graphics, ImageListViewItem, Image, Rectangle)
| Improve this Doc View Source

DrawSelectionRectangle(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
ImageListView.ImageListViewRenderer.DrawSelectionRectangle(Graphics, Rectangle)
| Improve this Doc View Source

MeasureItem(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.

Overrides
ImageListView.ImageListViewRenderer.MeasureItem(View)

Implements

System.IDisposable
Back to top Copyright © 2018 Özgür Özçıtak