Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PaintProperties Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : PaintProperties Property



Gets or sets the 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);
}

Return Value

An 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 RasterPaintProperties, The RasterPaintEngine Property and 16bpp Grayscale Images, and Using The Paint Engine Property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also