C# Class GitHub.UI.FixedAspectRatioPanel

Inheritance: System.Windows.Controls.Panel
显示文件 Open project: Microsoft/Git-Credential-Manager-for-Windows

Public Properties

Property Type Description
AspectRatioProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
FixedAspectRatioPanel System
GetMaxSize System.Windows.Size
GetPosition Point

Protected Methods

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

Private Methods

Method Description
FixedAspectRatioPanel ( ) : System
GetMaxSize ( Size availableSize, double constraintAspectRatio ) : Size
GetPosition ( Size outer, Size inner, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment ) : Point

Method Details

ArrangeOverride() protected method

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

MeasureOverride() protected method

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

Property Details

AspectRatioProperty public_oe static_oe property

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