C# Class PhotoSharingApp.Universal.Controls.AnimatedImage

An image control that allows specifying a placeholder image and that fades in the actual image once it has been loaded.
Inheritance: Windows.UI.Xaml.Controls.UserControl
Show file Open project: Microsoft/Appsample-Photosharing

Public Properties

Property Type Description
PlaceHolderProperty Windows.UI.Xaml.DependencyProperty
SourceProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
AnimatedImage ( ) : Windows.UI.Xaml

The constructor.

Private Methods

Method Description
LoadImage ( ) : void
OnSourceChanged ( ) : void
SourcePropertyChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void

Method Details

AnimatedImage() public method

The constructor.
public AnimatedImage ( ) : Windows.UI.Xaml
return Windows.UI.Xaml

Property Details

PlaceHolderProperty public static property

The dependency property for the placeholder.
public static DependencyProperty,Windows.UI.Xaml PlaceHolderProperty
return Windows.UI.Xaml.DependencyProperty

SourceProperty public static property

The dependency property for the image source.
public static DependencyProperty,Windows.UI.Xaml SourceProperty
return Windows.UI.Xaml.DependencyProperty