C# 클래스 FFImageLoading.FFImage

상속: Windows.UI.Xaml.Controls.ContentControl, IDisposable
파일 보기 프로젝트 열기: daniel-luberda/FFImageLoading

공개 프로퍼티들

프로퍼티 타입 설명
CacheDurationProperty Windows.UI.Xaml.DependencyProperty
CacheTypeProperty Windows.UI.Xaml.DependencyProperty
DownsampleHeightProperty Windows.UI.Xaml.DependencyProperty
DownsampleModeProperty Windows.UI.Xaml.DependencyProperty
DownsampleToViewSizeProperty Windows.UI.Xaml.DependencyProperty
DownsampleUseDipUnitsProperty Windows.UI.Xaml.DependencyProperty
DownsampleWidthProperty Windows.UI.Xaml.DependencyProperty
ErrorCommandProperty Windows.UI.Xaml.DependencyProperty
ErrorPlaceholderProperty Windows.UI.Xaml.DependencyProperty
FadeAnimationEnabledProperty Windows.UI.Xaml.DependencyProperty
FinishCommandProperty Windows.UI.Xaml.DependencyProperty
LoadingPlaceholderProperty Windows.UI.Xaml.DependencyProperty
LoadingPriorityProperty Windows.UI.Xaml.DependencyProperty
RetryCountProperty Windows.UI.Xaml.DependencyProperty
RetryDelayProperty Windows.UI.Xaml.DependencyProperty
SourceProperty Windows.UI.Xaml.DependencyProperty
StretchProperty Windows.UI.Xaml.DependencyProperty
SuccessCommandProperty Windows.UI.Xaml.DependencyProperty
TransformPlaceholdersProperty Windows.UI.Xaml.DependencyProperty
TransformationsProperty Windows.UI.Xaml.DependencyProperty

Private Properties

프로퍼티 타입 설명
GetBytesFromBitmapAsync Task
GetImageAsByteAsync Task
LoadImage void
OnError void
OnFinish void
OnSuccess void
SourcePropertyChanged void
SourcePropertyChanged void
StretchPropertyChanged void
StretchPropertyChanged void
TransformationsPropertyChanged void
TransformationsPropertyChanged void

공개 메소드들

메소드 설명
Cancel ( ) : void

Cancels image loading tasks

ClearCacheAsync ( CacheType cacheType ) : Task

Clears image cache

Dispose ( ) : void
FFImage ( ) : FFImageLoading.Extensions
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

InvalidateCacheEntryAsync ( string key, CacheType cacheType ) : Task

Invalidates cache for a specified key

SetPauseWork ( bool pauseWork ) : void

Pauses image loading (enable or disable).

비공개 메소드들

메소드 설명
GetBytesFromBitmapAsync ( WriteableBitmap bitmap ) : Task
GetImageAsByteAsync ( System.Guid format, int quality, int desiredWidth, int desiredHeight ) : Task
LoadImage ( ) : void
OnError ( Args e ) : void
OnFinish ( Args e ) : void
OnSuccess ( Args e ) : void
SourcePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
SourcePropertyChanged ( string source ) : void
StretchPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
StretchPropertyChanged ( Stretch stretch ) : void
TransformationsPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
TransformationsPropertyChanged ( List transformations ) : void

메소드 상세

Cancel() 공개 메소드

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

ClearCacheAsync() 공개 정적인 메소드

Clears image cache
public static ClearCacheAsync ( CacheType cacheType ) : Task
cacheType CacheType Cache type to invalidate
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FFImage() 공개 메소드

public FFImage ( ) : FFImageLoading.Extensions
리턴 FFImageLoading.Extensions

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

InvalidateCacheEntryAsync() 공개 정적인 메소드

Invalidates cache for a specified key
public static InvalidateCacheEntryAsync ( string key, CacheType cacheType ) : Task
key string Key to invalidate
cacheType CacheType Cache type to invalidate
리턴 Task

SetPauseWork() 공개 정적인 메소드

Pauses image loading (enable or disable).
public static SetPauseWork ( bool pauseWork ) : void
pauseWork bool If set to true pauses image loading.
리턴 void

프로퍼티 상세

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

The cache duration property.
public static DependencyProperty,Windows.UI.Xaml CacheDurationProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The cache type property.
public static DependencyProperty,Windows.UI.Xaml CacheTypeProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The downsample height property.
public static DependencyProperty,Windows.UI.Xaml DownsampleHeightProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The downsample interpolation mode property.
public static DependencyProperty,Windows.UI.Xaml DownsampleModeProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

public static DependencyProperty,Windows.UI.Xaml DownsampleToViewSizeProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

public static DependencyProperty,Windows.UI.Xaml DownsampleUseDipUnitsProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The downsample width property.
public static DependencyProperty,Windows.UI.Xaml DownsampleWidthProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The ErrorCommandProperty.
public static DependencyProperty,Windows.UI.Xaml ErrorCommandProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The error placeholder property.
public static DependencyProperty,Windows.UI.Xaml ErrorPlaceholderProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The fade animation enabled property.
public static DependencyProperty,Windows.UI.Xaml FadeAnimationEnabledProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The FinishCommandProperty.
public static DependencyProperty,Windows.UI.Xaml FinishCommandProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The loading placeholder property.
public static DependencyProperty,Windows.UI.Xaml LoadingPlaceholderProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The Loading Priority property.
public static DependencyProperty,Windows.UI.Xaml LoadingPriorityProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The retry count property.
public static DependencyProperty,Windows.UI.Xaml RetryCountProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The retry delay property.
public static DependencyProperty,Windows.UI.Xaml RetryDelayProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

public static DependencyProperty,Windows.UI.Xaml SourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

public static DependencyProperty,Windows.UI.Xaml StretchProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The SuccessCommandProperty.
public static DependencyProperty,Windows.UI.Xaml SuccessCommandProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The transform placeholders property.
public static DependencyProperty,Windows.UI.Xaml TransformPlaceholdersProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

The transformations property.
public static DependencyProperty,Windows.UI.Xaml TransformationsProperty
리턴 Windows.UI.Xaml.DependencyProperty