C# Class FirstFloor.ModernUI.Windows.Controls.AlignableWrapPanel

Inheritance: System.Windows.Controls.Panel
显示文件 Open project: gro-ove/actools

Public Properties

Property Type Description
HorizontalContentAlignmentProperty System.Windows.DependencyProperty
ItemHeightProperty System.Windows.DependencyProperty
ItemWidthProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty
VerticalContentAlignmentProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ArrangeLine void
IsWidthHeightValid bool
OnOrientationChanged void

Public Methods

Method Description
AlignableWrapPanel ( ) : System

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size constraint ) : Size

Private Methods

Method Description
ArrangeLine ( Size finalSize, double v, UvSize line, int start, int end, bool useItemU, double itemU ) : void
IsWidthHeightValid ( object value ) : bool
OnOrientationChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

AlignableWrapPanel() public method

public AlignableWrapPanel ( ) : System
return System

ArrangeOverride() protected method

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

MeasureOverride() protected method

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

Property Details

HorizontalContentAlignmentProperty public_oe static_oe property

public static DependencyProperty,System.Windows HorizontalContentAlignmentProperty
return System.Windows.DependencyProperty

ItemHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows ItemHeightProperty
return System.Windows.DependencyProperty

ItemWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows ItemWidthProperty
return System.Windows.DependencyProperty

OrientationProperty public_oe static_oe property

public static DependencyProperty,System.Windows OrientationProperty
return System.Windows.DependencyProperty

VerticalContentAlignmentProperty public_oe static_oe property

public static DependencyProperty,System.Windows VerticalContentAlignmentProperty
return System.Windows.DependencyProperty