Xamarin.Android

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomImageView - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CustomImageView

    Custom image view

    Inheritance
    System.Object
    CustomImageView
    Namespace: Com.Syncfusion.Rotator
    Assembly: Syncfusion.SfRotator.Android.dll
    Syntax
    public class CustomImageView : FrameLayout

    Constructors

    CustomImageView(Context, IAttributeSet)

    Initializes a new instance of the CustomImageView class.

    Declaration
    public CustomImageView(Context context, IAttributeSet attrs)
    Parameters
    Type Name Description
    Android.Content.Context context

    context type

    Android.Util.IAttributeSet attrs

    Attribute set

    CustomImageView(Context, IAttributeSet, Int32)

    Initializes a new instance of the CustomImageView class.

    Declaration
    public CustomImageView(Context context, IAttributeSet attrs, int defStyle)
    Parameters
    Type Name Description
    Android.Content.Context context

    Context type

    Android.Util.IAttributeSet attrs

    Attribute set

    System.Int32 defStyle

    Integer type

    CustomImageView(Context, View, Single, Single, Boolean, SfRotator)

    Initializes a new instance of the CustomImageView class.

    Declaration
    public CustomImageView(Context context, View tempview, float twidth, float theight, bool isDynamicView, SfRotator rotator)
    Parameters
    Type Name Description
    Android.Content.Context context

    context type

    Android.Views.View tempview

    View type

    System.Single twidth

    width value

    System.Single theight

    Height value

    System.Boolean isDynamicView

    Boolean value

    SfRotator rotator

    Rotator control

    Properties

    Index

    Gets or sets the value of Index

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    Dispose(Boolean)

    Dispose method.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean type

    getBitmapFromView(View)

    Get Bitmap From view method.

    Declaration
    public static Bitmap getBitmapFromView(View view)
    Parameters
    Type Name Description
    Android.Views.View view

    View type

    Returns
    Type Description
    Android.Graphics.Bitmap

    return bitmap

    getImage()

    Get image method.

    Declaration
    protected void getImage()

    isSelectedImage()

    Is Selected image method.

    Declaration
    public bool isSelectedImage()
    Returns
    Type Description
    System.Boolean

    return selected image

    setSelectedImage(Boolean)

    Set Selected Image method

    Declaration
    public void setSelectedImage(bool selectedImage)
    Parameters
    Type Name Description
    System.Boolean selectedImage

    Boolean type

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved