C# 클래스 FFImageLoading.Forms.CachedImage

CachedImage - Xamarin.Forms image replacement with caching and downsampling capabilities
상속: Xamarin.Forms.View
파일 보기 프로젝트 열기: daniel-luberda/FFImageLoading 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AspectProperty BindableProperty
BitmapOptimizationsProperty BindableProperty
CacheDurationProperty BindableProperty
CacheTypeProperty BindableProperty
DownloadStartedCommandProperty BindableProperty
DownsampleHeightProperty BindableProperty
DownsampleToViewSizeProperty BindableProperty
DownsampleUseDipUnitsProperty BindableProperty
DownsampleWidthProperty BindableProperty
ErrorCommandProperty BindableProperty
ErrorPlaceholderProperty BindableProperty
FadeAnimationEnabledProperty BindableProperty
FinishCommandProperty BindableProperty
IsLoadingProperty BindableProperty
IsLoadingPropertyKey BindablePropertyKey
IsOpaqueProperty BindableProperty
LoadingDelayProperty BindableProperty
LoadingPlaceholderProperty BindableProperty
LoadingPriorityProperty BindableProperty
RetryCountProperty BindableProperty
RetryDelayProperty BindableProperty
SourceProperty BindableProperty
SuccessCommandProperty BindableProperty
TransformPlaceholdersProperty BindableProperty
TransformationsProperty BindableProperty

Private Properties

프로퍼티 타입 설명
HandleTransformationsPropertyChangedDelegate void
OnDownloadStarted void
OnError void
OnFinish void
OnSizeRequest SizeRequest
OnSourcePropertyChanged void
OnSuccess void

공개 메소드들

메소드 설명
CachedImage ( ) : System
Cancel ( ) : void

Cancels image loading tasks

GetImageAsJpgAsync ( int quality = 90, int desiredWidth, int desiredHeight ) : Task

Gets the image as JPG.

GetImageAsPngAsync ( int desiredWidth, int desiredHeight ) : Task

Gets the image as PNG

InvalidateCache ( Xamarin.Forms.ImageSource source, Cache cacheType, bool removeSimilar = false ) : System.Threading.Tasks.Task

Invalidates cache for a specified image source.

InvalidateCache ( string key, Cache cacheType, bool removeSimilar = false ) : System.Threading.Tasks.Task

Invalidates cache for a specified key.

ReloadImage ( ) : void

Reloads the image.

보호된 메소드들

메소드 설명
OnBindingContextChanged ( ) : void

비공개 메소드들

메소드 설명
HandleTransformationsPropertyChangedDelegate ( BindableObject bindable, object oldValue, object newValue ) : void
OnDownloadStarted ( CachedImageEvents e ) : void
OnError ( CachedImageEvents e ) : void
OnFinish ( CachedImageEvents e ) : void
OnSizeRequest ( double widthConstraint, double heightConstraint ) : SizeRequest
OnSourcePropertyChanged ( BindableObject bindable, object oldValue, object newValue ) : void
OnSuccess ( CachedImageEvents e ) : void

메소드 상세

CachedImage() 공개 메소드

public CachedImage ( ) : System
리턴 System

Cancel() 공개 메소드

Cancels image loading tasks
public Cancel ( ) : void
리턴 void

GetImageAsJpgAsync() 공개 메소드

Gets the image as JPG.
public GetImageAsJpgAsync ( int quality = 90, int desiredWidth, int desiredHeight ) : Task
quality int
desiredWidth int
desiredHeight int
리턴 Task

GetImageAsPngAsync() 공개 메소드

Gets the image as PNG
public GetImageAsPngAsync ( int desiredWidth, int desiredHeight ) : Task
desiredWidth int
desiredHeight int
리턴 Task

InvalidateCache() 공개 정적인 메소드

Invalidates cache for a specified image source.
public static InvalidateCache ( Xamarin.Forms.ImageSource source, Cache cacheType, bool removeSimilar = false ) : System.Threading.Tasks.Task
source Xamarin.Forms.ImageSource Image source.
cacheType Cache Cache type.
removeSimilar bool If set to true removes all image cache variants /// (downsampling and transformations variants)
리턴 System.Threading.Tasks.Task

InvalidateCache() 공개 정적인 메소드

Invalidates cache for a specified key.
public static InvalidateCache ( string key, Cache cacheType, bool removeSimilar = false ) : System.Threading.Tasks.Task
key string
cacheType Cache Cache type.
removeSimilar bool If set to true removes all image cache variants /// (downsampling and transformations variants)
리턴 System.Threading.Tasks.Task

OnBindingContextChanged() 보호된 메소드

protected OnBindingContextChanged ( ) : void
리턴 void

ReloadImage() 공개 메소드

Reloads the image.
public ReloadImage ( ) : void
리턴 void

프로퍼티 상세

AspectProperty 공개적으로 정적으로 프로퍼티

The aspect property.
public static BindableProperty AspectProperty
리턴 BindableProperty

BitmapOptimizationsProperty 공개적으로 정적으로 프로퍼티

The bitmap optimizations property.
public static BindableProperty BitmapOptimizationsProperty
리턴 BindableProperty

CacheDurationProperty 공개적으로 정적으로 프로퍼티

The cache duration property.
public static BindableProperty CacheDurationProperty
리턴 BindableProperty

CacheTypeProperty 공개적으로 정적으로 프로퍼티

The cache type property.
public static BindableProperty CacheTypeProperty
리턴 BindableProperty

DownloadStartedCommandProperty 공개적으로 정적으로 프로퍼티

The DownloadStartedCommandProperty.
public static BindableProperty DownloadStartedCommandProperty
리턴 BindableProperty

DownsampleHeightProperty 공개적으로 정적으로 프로퍼티

The downsample height property.
public static BindableProperty DownsampleHeightProperty
리턴 BindableProperty

DownsampleToViewSizeProperty 공개적으로 정적으로 프로퍼티

The downsample to view size property.
public static BindableProperty DownsampleToViewSizeProperty
리턴 BindableProperty

DownsampleUseDipUnitsProperty 공개적으로 정적으로 프로퍼티

The downsample use dip units property.
public static BindableProperty DownsampleUseDipUnitsProperty
리턴 BindableProperty

DownsampleWidthProperty 공개적으로 정적으로 프로퍼티

The downsample width property.
public static BindableProperty DownsampleWidthProperty
리턴 BindableProperty

ErrorCommandProperty 공개적으로 정적으로 프로퍼티

The ErrorCommandProperty.
public static BindableProperty ErrorCommandProperty
리턴 BindableProperty

ErrorPlaceholderProperty 공개적으로 정적으로 프로퍼티

The error placeholder property.
public static BindableProperty ErrorPlaceholderProperty
리턴 BindableProperty

FadeAnimationEnabledProperty 공개적으로 정적으로 프로퍼티

The fade animation enabled property.
public static BindableProperty FadeAnimationEnabledProperty
리턴 BindableProperty

FinishCommandProperty 공개적으로 정적으로 프로퍼티

The FinishCommandProperty.
public static BindableProperty FinishCommandProperty
리턴 BindableProperty

IsLoadingProperty 공개적으로 정적으로 프로퍼티

The is loading property.
public static BindableProperty IsLoadingProperty
리턴 BindableProperty

IsLoadingPropertyKey 공개적으로 정적으로 프로퍼티

The is loading property key.
public static BindablePropertyKey IsLoadingPropertyKey
리턴 BindablePropertyKey

IsOpaqueProperty 공개적으로 정적으로 프로퍼티

The is opaque property.
public static BindableProperty IsOpaqueProperty
리턴 BindableProperty

LoadingDelayProperty 공개적으로 정적으로 프로퍼티

The loading delay property.
public static BindableProperty LoadingDelayProperty
리턴 BindableProperty

LoadingPlaceholderProperty 공개적으로 정적으로 프로퍼티

The loading placeholder property.
public static BindableProperty LoadingPlaceholderProperty
리턴 BindableProperty

LoadingPriorityProperty 공개적으로 정적으로 프로퍼티

The loading priority property.
public static BindableProperty LoadingPriorityProperty
리턴 BindableProperty

RetryCountProperty 공개적으로 정적으로 프로퍼티

The retry count property.
public static BindableProperty RetryCountProperty
리턴 BindableProperty

RetryDelayProperty 공개적으로 정적으로 프로퍼티

The retry delay property.
public static BindableProperty RetryDelayProperty
리턴 BindableProperty

SourceProperty 공개적으로 정적으로 프로퍼티

The source property.
public static BindableProperty SourceProperty
리턴 BindableProperty

SuccessCommandProperty 공개적으로 정적으로 프로퍼티

The SuccessCommandProperty.
public static BindableProperty SuccessCommandProperty
리턴 BindableProperty

TransformPlaceholdersProperty 공개적으로 정적으로 프로퍼티

The TransformPlaceholders property.
public static BindableProperty TransformPlaceholdersProperty
리턴 BindableProperty

TransformationsProperty 공개적으로 정적으로 프로퍼티

The transformations property.
public static BindableProperty TransformationsProperty
리턴 BindableProperty