Input for WinForms | ComponentOne
C1.Framework Namespace / BitmapIconElement Class
Members

In This Topic
    BitmapIconElement Class
    In This Topic
    Represents an icon created from an image.
    Syntax
    'Declaration
     
    
    Public Class BitmapIconElement 
       Inherits IconElement
    public class BitmapIconElement : IconElement 
    Remarks
    The file that you use should be a solid image on a transparent background. The bitmap image is expected to be a true bitmap that has transparent pixels and non-transparent pixels. The recommended format is PNG. Other file-format image sources will load but result in a solid block of the foreground color. Caution: Resizing bitmaps at runtime might hurt application performance and result in blurry images. Consider using fixed-size images where possible.
    Inheritance Hierarchy

    System.Object
       C1.Framework.Element
          C1.Framework.IconElement
             C1.Framework.BitmapIconElement

    See Also