ComponentOne Xamarin.iOS Documentation
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1BitmapIcon Class
Members


In This Topic
    C1BitmapIcon Class
    In This Topic
    Represents an icon created from an image.
    Syntax
    'Declaration
     
    
    <Foundation.RegisterAttribute("C1BitmapIcon")>
    <DesignTimeVisibleAttribute(True)>
    Public Class C1BitmapIcon 
       Inherits C1Icon
       Implements IDependencyObject, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUITraitEnvironment 
    'Usage
     
    
    Dim instance As C1BitmapIcon
    [Foundation.Register("C1BitmapIcon")]
    [DesignTimeVisible(true)]
    public class C1BitmapIcon : C1Icon, IDependencyObject, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUITraitEnvironment  
    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
       Foundation.NSObject
          UIKit.UIResponder
             UIKit.UIView
                C1.iOS.Core.C1Icon
                   C1.iOS.Core.C1BitmapIcon

    See Also