C# 클래스 WPFSpark.FluidWrapPanel

상속: Windows.UI.Xaml.Controls.Panel
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DragEasingProperty Windows.UI.Xaml.DependencyProperty
DragOpacityProperty Windows.UI.Xaml.DependencyProperty
DragScaleProperty Windows.UI.Xaml.DependencyProperty
ElementEasingProperty Windows.UI.Xaml.DependencyProperty
IsComposingProperty Windows.UI.Xaml.DependencyProperty
ItemHeightProperty Windows.UI.Xaml.DependencyProperty
ItemWidthProperty Windows.UI.Xaml.DependencyProperty
ItemsSourceProperty Windows.UI.Xaml.DependencyProperty
OrientationProperty Windows.UI.Xaml.DependencyProperty
fluidElements List

공개 메소드들

메소드 설명
FluidWrapPanel ( ) : System

Ctor

보호된 메소드들

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

Override for the Arrange Layout Phase

MeasureOverride ( Size availableSize ) : Size

Override for the Measure Layout Phase

OnDragEasingChanged ( EasingFunctionBase oldDragEasing, EasingFunctionBase newDragEasing ) : void

Provides derived classes an opportunity to handle changes to the DragEasing property.

OnDragOpacityChanged ( double oldDragOpacity, double newDragOpacity ) : void

Provides derived classes an opportunity to handle changes to the DragOpacity property.

OnDragScaleChanged ( double oldDragScale, double newDragScale ) : void

Provides derived classes an opportunity to handle changes to the DragScale property.

OnElementEasingChanged ( EasingFunctionBase oldElementEasing, EasingFunctionBase newElementEasing ) : void

Provides derived classes an opportunity to handle changes to the ElementEasing property.

OnIsComposingChanged ( bool oldIsComposing, bool newIsComposing ) : void

Provides derived classes an opportunity to handle changes to the IsComposing property.

OnItemHeightChanged ( double oldItemHeight, double newItemHeight ) : void

Provides derived classes an opportunity to handle changes to the ItemHeight property.

OnItemWidthChanged ( double oldItemWidth, double newItemWidth ) : void

Provides derived classes an opportunity to handle changes to the ItemWidth property.

OnItemsSourceChanged ( IEnumerable oldItemsSource, IEnumerable newItemsSource ) : void

Provides derived classes an opportunity to handle changes to the ItemsSource property.

OnOrientationChanged ( Orientation oldOrientation, Orientation newOrientation ) : void

Provides derived classes an opportunity to handle changes to the Orientation property.

비공개 메소드들

메소드 설명
AddChildToFluidElements ( UIElement child ) : void

Adds the child to the fluidElements collection and initializes its RenderTransform.

BeginFluidDrag ( UIElement child, Point position ) : void

Handler for the event when the user starts dragging the dragElement.

ClearItemsSource ( ) : void

Removes all the children from the FluidWrapPanel

CoerceDragOpacity ( DependencyObject d, object value ) : object

Coerces the FluidDrag Opacity to an acceptable value

EndFluidDrag ( UIElement child, Point position, Point positionInParent ) : void

Handler for the event when the user stops dragging the dragElement and releases it.

FluidDrag ( UIElement child, Point position, Point positionInParent ) : void

Handler for the event when the user drags the dragElement.

InitializeArrange ( ) : void

Intializes the arrangement of the children

OnDragEasingChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DragEasing property.

OnDragOpacityChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DragOpacity property.

OnDragScaleChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DragScale property.

OnElementEasingChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ElementEasing property.

OnIsComposingChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsComposing property.

OnItemHeightChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemHeight property.

OnItemWidthChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemWidth property.

OnItemsSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ItemsSource property.

OnOrientationChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Orientation property.

UpdateDragElementIndex ( int newIndex ) : bool

Moves the dragElement to the new Index

UpdateFluidLayout ( bool showEasing = true ) : void

Iterates through all the fluid elements and animate their movement to their new location.

메소드 상세

ArrangeOverride() 보호된 메소드

Override for the Arrange Layout Phase
protected ArrangeOverride ( Size finalSize ) : Size
finalSize Windows.Foundation.Size Available size provided by the FluidWrapPanel
리턴 Windows.Foundation.Size

FluidWrapPanel() 공개 메소드

Ctor
public FluidWrapPanel ( ) : System
리턴 System

MeasureOverride() 보호된 메소드

Override for the Measure Layout Phase
protected MeasureOverride ( Size availableSize ) : Size
availableSize Windows.Foundation.Size Available Size
리턴 Windows.Foundation.Size

OnDragEasingChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the DragEasing property.
protected OnDragEasingChanged ( EasingFunctionBase oldDragEasing, EasingFunctionBase newDragEasing ) : void
oldDragEasing Windows.UI.Xaml.Media.Animation.EasingFunctionBase Old Value
newDragEasing Windows.UI.Xaml.Media.Animation.EasingFunctionBase New Value
리턴 void

OnDragOpacityChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the DragOpacity property.
protected OnDragOpacityChanged ( double oldDragOpacity, double newDragOpacity ) : void
oldDragOpacity double Old Value
newDragOpacity double New Value
리턴 void

OnDragScaleChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the DragScale property.
protected OnDragScaleChanged ( double oldDragScale, double newDragScale ) : void
oldDragScale double Old Value
newDragScale double New Value
리턴 void

OnElementEasingChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the ElementEasing property.
protected OnElementEasingChanged ( EasingFunctionBase oldElementEasing, EasingFunctionBase newElementEasing ) : void
oldElementEasing Windows.UI.Xaml.Media.Animation.EasingFunctionBase Old Value
newElementEasing Windows.UI.Xaml.Media.Animation.EasingFunctionBase New Value
리턴 void

OnIsComposingChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the IsComposing property.
protected OnIsComposingChanged ( bool oldIsComposing, bool newIsComposing ) : void
oldIsComposing bool Old Value
newIsComposing bool New Value
리턴 void

OnItemHeightChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the ItemHeight property.
protected OnItemHeightChanged ( double oldItemHeight, double newItemHeight ) : void
oldItemHeight double Old Value
newItemHeight double New Value
리턴 void

OnItemWidthChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the ItemWidth property.
protected OnItemWidthChanged ( double oldItemWidth, double newItemWidth ) : void
oldItemWidth double Old Value
newItemWidth double New Value
리턴 void

OnItemsSourceChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the ItemsSource property.
protected OnItemsSourceChanged ( IEnumerable oldItemsSource, IEnumerable newItemsSource ) : void
oldItemsSource IEnumerable Old Value
newItemsSource IEnumerable New Value
리턴 void

OnOrientationChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the Orientation property.
protected OnOrientationChanged ( Orientation oldOrientation, Orientation newOrientation ) : void
oldOrientation Orientation Old Value
newOrientation Orientation New Value
리턴 void

프로퍼티 상세

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

DragEasing Dependency Property
public static DependencyProperty,Windows.UI.Xaml DragEasingProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

DragOpacity Dependency Property
public static DependencyProperty,Windows.UI.Xaml DragOpacityProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

DragScale Dependency Property
public static DependencyProperty,Windows.UI.Xaml DragScaleProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

ElementEasing Dependency Property
public static DependencyProperty,Windows.UI.Xaml ElementEasingProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

IsComposing Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsComposingProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

ItemHeight Dependency Property
public static DependencyProperty,Windows.UI.Xaml ItemHeightProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

ItemWidth Dependency Property
public static DependencyProperty,Windows.UI.Xaml ItemWidthProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

ItemsSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml ItemsSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

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

Orientation Dependency Property
public static DependencyProperty,Windows.UI.Xaml OrientationProperty
리턴 Windows.UI.Xaml.DependencyProperty

fluidElements 공개적으로 프로퍼티

public List fluidElements
리턴 List