C# Class Discuz.WinPhone.TilePanel

Inheritance: System.Windows.Controls.Panel
Afficher le fichier Open project: gruan01/Discuz.Mobi Class Usage Examples

Méthodes publiques

Свойство Type Description
ImageProperty System.Windows.DependencyProperty
TileHeightProperty System.Windows.DependencyProperty
TileWidthProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
TilePanel ( ) : System

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
ImagePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TileHeightPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TileWidthPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

AdjustTiles() protected méthode

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
Résultat void

ArrangeOverride() protected méthode

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
Résultat System.Windows.Size

TileAdjustmentNeededAsync() protected méthode

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
Résultat void

TilePanel() public méthode

public TilePanel ( ) : System
Résultat System

TilePanelSizeChanged() protected méthode

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
Résultat void

Property Details

ImageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ImageProperty
Résultat System.Windows.DependencyProperty

TileHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows TileHeightProperty
Résultat System.Windows.DependencyProperty

TileWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows TileWidthProperty
Résultat System.Windows.DependencyProperty