C# Класс Discuz.WinPhone.TilePanel

Наследование: System.Windows.Controls.Panel
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ImageProperty System.Windows.DependencyProperty
TileHeightProperty System.Windows.DependencyProperty
TileWidthProperty System.Windows.DependencyProperty

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

Метод Описание
TilePanel ( ) : System

Защищенные методы

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

Adjusts the quantity of the tiles based on the size of the panel and immediately calls UpdateLayout so the new tiles can be properly layed out.

ArrangeOverride ( Size finalSize ) : Size

Perform the standard Arrange. Here though, all of the tiles are placed based on the tilesize specified.

TileAdjustmentNeededAsync ( ) : void

Signal that an adjustment to the tiles is needed, then makes the call asynchronously. By asynchronously making this call, it can help prevent unnecessary work by the panel.

TilePanelSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Called when the size of the panel changes.

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

Метод Описание
ImagePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TileHeightPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TileWidthPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

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

AdjustTiles() защищенный Метод

Adjusts the quantity of the tiles based on the size of the panel and immediately calls UpdateLayout so the new tiles can be properly layed out.
protected AdjustTiles ( ) : void
Результат void

ArrangeOverride() защищенный Метод

Perform the standard Arrange. Here though, all of the tiles are placed based on the tilesize specified.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size the actual size that the panel has been given
Результат System.Windows.Size

TileAdjustmentNeededAsync() защищенный Метод

Signal that an adjustment to the tiles is needed, then makes the call asynchronously. By asynchronously making this call, it can help prevent unnecessary work by the panel.
protected TileAdjustmentNeededAsync ( ) : void
Результат void

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

public TilePanel ( ) : System
Результат System

TilePanelSizeChanged() защищенный Метод

Called when the size of the panel changes.
protected TilePanelSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object This panel
e System.Windows.SizeChangedEventArgs The new size information
Результат void

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

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

public static DependencyProperty,System.Windows ImageProperty
Результат System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows TileHeightProperty
Результат System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows TileWidthProperty
Результат System.Windows.DependencyProperty