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




Gets and 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;}
Managed Extensions for C++ 
[BrowsableAttribute(false)]
public: __property RasterPaintProperties get_PaintProperties();
public: __property void set_PaintProperties( 
   RasterPaintProperties value
);
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