Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Core Assembly / C1.Xamarin.Forms.Core Namespace / C1BitmapIcon Class
Members


In This Topic
    C1BitmapIcon Class
    In This Topic
    Represents an icon created from an image.
    Syntax
    'Declaration
     
    
    Public Class C1BitmapIcon 
       Inherits C1Icon
       Implements Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController 
    'Usage
     
    
    Dim instance As C1BitmapIcon
    public class C1BitmapIcon : C1Icon, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController  
    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.
    Inheritance Hierarchy

    System.Object
       Xamarin.Forms.BindableObject
          Xamarin.Forms.Element
             Xamarin.Forms.NavigableElement
                Xamarin.Forms.VisualElement
                   Xamarin.Forms.View
                      C1.Xamarin.Forms.Core.C1Icon
                         C1.Xamarin.Forms.Core.C1BitmapIcon

    See Also