C# Class SilverlightFX.UserInterface.TilePanel

A panel that arranges its child elements horizontally, and then wrapped to the next row in an animated manner.
Inheritance: System.Windows.Controls.AnimatedPanel
Show file Open project: nikhilk/silverlightfx

Public Properties

Property Type Description
TileHeightProperty System.Windows.DependencyProperty
TileSpacingProperty System.Windows.DependencyProperty
TileWidthProperty System.Windows.DependencyProperty

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
GetInitialRect ( Size panelSize, Rect elementRect, UIElement element ) : Rect
MeasureOverride ( Size availableSize ) : Size

Private Methods

Method Description
OnLayoutChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

GetInitialRect() protected method

protected GetInitialRect ( Size panelSize, Rect elementRect, UIElement element ) : Rect
panelSize System.Windows.Size
elementRect System.Windows.Rect
element UIElement
return System.Windows.Rect

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
return System.Windows.Size

Property Details

TileHeightProperty public static property

Represents the TileHeight property of the TilePanel.
public static DependencyProperty,System.Windows TileHeightProperty
return System.Windows.DependencyProperty

TileSpacingProperty public static property

Represents the TileSpacing property of the TilePanel.
public static DependencyProperty,System.Windows TileSpacingProperty
return System.Windows.DependencyProperty

TileWidthProperty public static property

Represents the TileWidth property of the TilePanel.
public static DependencyProperty,System.Windows TileWidthProperty
return System.Windows.DependencyProperty