WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridIconPaint - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridIconPaint

    Provides the support for drawing and caching bitmaps from a resource manifest with a given fore color.

    Inheritance
    System.Object
    IconPaint
    GridIconPaint
    Inherited Members
    IconPaint.GetBitmap(String)
    IconPaint.CenterInRect(Rectangle, Size)
    IconPaint.PaintIcon(Graphics, Rectangle, Point, Bitmap, Color)
    IconPaint.PaintIcon(Graphics, Rectangle, Point, String, Color)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridIconPaint : IconPaint
    Remarks

    The bitmaps are loaded from the manifest and cached. The PaintIcon routine will substitute black pixels of the original bitmap and draw them with a specified fore color.

    Constructors

    GridIconPaint(String, Assembly)

    Initializes a new GridIconPaint object with manifestPrefix and a reference to the assembly to load bitmaps from. You should save this object in a static variable.

    Declaration
    public GridIconPaint(string manifestPrefix, Assembly ass)
    Parameters
    Type Name Description
    System.String manifestPrefix

    The manifest to load from. The bitmaps should be saved in the Resources tree in the Visual Studio project with the build action set to "Embedded Resource".

    System.Reflection.Assembly ass

    The assembly to load from. The bitmaps should be saved in the Resources tree in Visual Studio project with the build action set to "Embedded Resource".

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved