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

In This Topic
    BitmapIconElement Class
    In This Topic
    Represents an icon created from an image.
    Object Model
    BitmapIconElement ClassElementList ClassElement ClassThickness StructureElement ClassStyle ClassElement ClassStyle Class
    Syntax
    'Declaration
     
    
    <TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
    Public Class BitmapIconElement 
       Inherits IconElement
    [TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
    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