Android.Widget.ImageView Members

The members of Android.Widget.ImageView are listed below.

See Also: Inherited members from Android.Views.View

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
AdjustViewBoundsbool. True when ImageView is adjusting its bounds to preserve the aspect ratio of its drawable
BaselineAlignBottombool. Return whether this view's baseline will be considered the bottom of the view.
[read-only]
ColorFilterAndroid.Graphics.ColorFilter. Returns the active color filter for this ImageView.
CropToPaddingbool. Return whether this ImageView crops to padding.
[read-only]
DrawableAndroid.Graphics.Drawables.Drawable. Return the view's drawable, or null if no drawable has been assigned.
ImageAlphaint. Returns the alpha that will be applied to the drawable of this ImageView.
ImageMatrixAndroid.Graphics.Matrix. Return the view's optional matrix.
ImageTintListAndroid.Content.Res.ColorStateList.
ImageTintModeAndroid.Graphics.PorterDuff.Mode.
[read-only]
MaxHeightint. The maximum height of this view.
[read-only]
MaxWidthint. The maximum width of this view.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ClearColorFilter()
GetScaleType() : ImageView.ScaleType
Return the current scale type in use by this ImageView.
OnCreateDrawableState(int) : int[]
Generate the new Android.Graphics.Drawables.Drawable state for this view.
SetAdjustViewBounds(bool)
Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.
SetAlpha(int)
Sets the alpha value that should be applied to the image.
SetBaseline(int)
SetColorFilter(Android.Graphics.Color)
Set a tinting option for the image.
SetColorFilter(Android.Graphics.ColorFilter)
Apply an arbitrary colorfilter to the image.
SetColorFilter(Android.Graphics.Color, Android.Graphics.PorterDuff.Mode)
Set a tinting option for the image.
SetImageBitmap(Android.Graphics.Bitmap)
Sets a Bitmap as the content of this ImageView.
SetImageDrawable(Android.Graphics.Drawables.Drawable)
Sets a drawable as the content of this ImageView.
SetImageLevel(int)
Sets the image level, when it is constructed from a Android.Graphics.Drawables.LevelListDrawable.
SetImageResource(int)
Sets a drawable as the content of this ImageView.
SetImageState(int[], bool)
SetImageURI(Android.Net.Uri)
Sets the content of this ImageView to the specified Uri.
SetMaxHeight(int)
An optional argument to supply a maximum height for this view.
SetMaxWidth(int)
An optional argument to supply a maximum width for this view.
SetScaleType(ImageView.ScaleType)
Controls how the image should be resized or moved to match the size of this ImageView.

Protected Methods

SetFrame(int, int, int, int) : bool
Assign a size and position to this view.