Class GridIconPaint
Provides the support for drawing and caching bitmaps from a resource manifest with a given fore color.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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". |