C# Класс ZuneSocialTagger.GUI.Controls.PlaceImage

Class that makes it easy to display an image placeholder while a desired image loads.
Наследование: System.Windows.Controls.Control
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
PlaceholderSourceProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty
StretchDirectionProperty System.Windows.DependencyProperty
StretchProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
ImageOpenedOrDownloadCompleted void
OnSourcePropertyChanged void
OnSourcePropertyChanged void
UpdateBackImageVisibility void

Открытые методы

Метод Описание
OnApplyTemplate ( ) : void

Invoked when a new Template is applied.

PlaceImage ( ) : System

Initializes a new instance of the PlaceImage class.

Приватные методы

Метод Описание
ImageOpenedOrDownloadCompleted ( object sender, EventArgs e ) : void

Handles the ImageOpened or DownloadCompleted event for the front image.

OnSourcePropertyChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when the Source dependency property changes.

OnSourcePropertyChanged ( ImageSource oldValue, ImageSource newValue ) : void

Called when the Source dependency property changes.

UpdateBackImageVisibility ( ) : void

Updates the Visibility of the back image according to whether the front image is loaded.

Описание методов

OnApplyTemplate() публичный Метод

Invoked when a new Template is applied.
public OnApplyTemplate ( ) : void
Результат void

PlaceImage() публичный Метод

Initializes a new instance of the PlaceImage class.
public PlaceImage ( ) : System
Результат System

Описание свойств

PlaceholderSourceProperty публичное статическое свойство

Identifies the PlaceholderSource dependency property.
public static DependencyProperty,System.Windows PlaceholderSourceProperty
Результат System.Windows.DependencyProperty

SourceProperty публичное статическое свойство

Identifies the Source dependency property.
public static DependencyProperty,System.Windows SourceProperty
Результат System.Windows.DependencyProperty

StretchDirectionProperty публичное статическое свойство

Identifies the StretchDirection dependency property.
public static DependencyProperty,System.Windows StretchDirectionProperty
Результат System.Windows.DependencyProperty

StretchProperty публичное статическое свойство

Identifies the Stretch dependency property.
public static DependencyProperty,System.Windows StretchProperty
Результат System.Windows.DependencyProperty