C# 클래스 WinRTXamlToolkit.Controls.LayoutTransformControl

상속: Windows.UI.Xaml.Controls.Control
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 프로퍼티들

프로퍼티 타입 설명
ChildProperty Windows.UI.Xaml.DependencyProperty
TransformProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
LayoutTransformControl ( ) : System

Initializes a new instance of the LayoutTransformControl class.

TransformUpdated ( ) : void

Notifies the LayoutTransformControl that some aspect of its Transform property has changed.

Call this to update the LayoutTransform in cases where LayoutTransformControl wouldn't otherwise know to do so.

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

Provides the behavior for the "Arrange" pass of layout.

Using the WPF paramater name finalSize instead of Silverlight's finalSize for clarity.

MeasureOverride ( Size availableSize ) : Size

Provides the behavior for the "Measure" pass of layout.

OnApplyTemplate ( ) : void

Called whenever the control's template changes.

비공개 메소드들

메소드 설명
ChildChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handle changes to the child dependency property.

ComputeLargestTransformedSize ( Size arrangeBounds ) : Size
GetTransformMatrix ( Transform transform ) : Matrix

Walks the Transform and returns the corresponding matrix.

IsSizeSmaller ( Size a, Size b ) : bool

Return true if Size a is smaller than Size b in either dimension.

MatrixHasInverse ( Matrix matrix ) : bool

Implements Windows Presentation Foundation's Matrix.HasInverse on Silverlight.

MatrixMultiply ( Matrix matrix1, Matrix matrix2 ) : Matrix

Implements Windows Presentation Foundation's Matrix.Multiply on Silverlight.

OnChildChanged ( FrameworkElement newContent ) : void

Updates content when the child property is changed.

OnTransformChanged ( Transform oldValue, Transform newValue ) : void

Processes the transform when the transform is changed.

OnTransformPropertyChanged ( object sender, double e ) : void

Called when a property of a Transform changes.

ProcessTransform ( ) : void

Processes the current transform to determine the corresponding matrix.

RectTransform ( Rect rectangle, Matrix matrix ) : Rect

Implement Windows Presentation Foundation's Rect.Transform on Silverlight.

RoundMatrix ( Matrix matrix, int decimalsAfterRound ) : Matrix

Rounds the non-offset elements of a matrix to avoid issues due to floating point imprecision.

SubscribeToTransformPropertyChanges ( Transform transform ) : void
TransformChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Transform DependencyProperty.

UnsubscribeFromTransformPropertyChanges ( Transform transform ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

Provides the behavior for the "Arrange" pass of layout.
Using the WPF paramater name finalSize instead of Silverlight's finalSize for clarity.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize Windows.Foundation.Size The final area within the parent that this /// element should use to arrange itself and its children.
리턴 Windows.Foundation.Size

LayoutTransformControl() 공개 메소드

Initializes a new instance of the LayoutTransformControl class.
public LayoutTransformControl ( ) : System
리턴 System

MeasureOverride() 보호된 메소드

Provides the behavior for the "Measure" pass of layout.
protected MeasureOverride ( Size availableSize ) : Size
availableSize Windows.Foundation.Size The available size that this element can /// give to child elements. Infinity can be specified as a value to /// indicate that the element will size to whatever content is /// available.
리턴 Windows.Foundation.Size

OnApplyTemplate() 보호된 메소드

Called whenever the control's template changes.
protected OnApplyTemplate ( ) : void
리턴 void

TransformUpdated() 공개 메소드

Notifies the LayoutTransformControl that some aspect of its Transform property has changed.
Call this to update the LayoutTransform in cases where LayoutTransformControl wouldn't otherwise know to do so.
public TransformUpdated ( ) : void
리턴 void

프로퍼티 상세

ChildProperty 공개적으로 정적으로 프로퍼티

Identifies the ChildProperty.
public static DependencyProperty,Windows.UI.Xaml ChildProperty
리턴 Windows.UI.Xaml.DependencyProperty

TransformProperty 공개적으로 정적으로 프로퍼티

Identifies the TransformProperty dependency property.
public static DependencyProperty,Windows.UI.Xaml TransformProperty
리턴 Windows.UI.Xaml.DependencyProperty