LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PaintProperties Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : PaintProperties Property



Gets or sets the Leadtools.Drawing.RasterPaintProperties which controls the painting of item images in this control.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public Property PaintProperties As RasterPaintProperties
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As RasterPaintProperties
 
instance.PaintProperties = value
 
value = instance.PaintProperties
C# 
[BrowsableAttribute(false)]
public RasterPaintProperties PaintProperties {get; set;}
C++/CLI 
[BrowsableAttribute(false)]
public:
property RasterPaintProperties PaintProperties {
   RasterPaintProperties get();
   void set (    RasterPaintProperties value);
}

Property Value

An Leadtools.Drawing.RasterPaintProperties structure which controls the painting of item images in this control.

Example

For an example, refer to RasterImageList.

Remarks

If the item image has a transparent color (RasterImage.Transparent is set to true) then the RasterImageList control will automatically revert to the GDI+ paint engine. It will temporarily set the RasterPaintProperties.PaintEngine value of the PaintProperties property to RasterPaintEngine.GdiPlus when drawing this item.

For more information, refer to Leadtools.Drawing.RasterPaintProperties, The RasterPaintEngine Property and 16bpp Grayscale Images, and Using The Paint Engine Property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also