C# 클래스 WinRTXamlToolkit.Controls.DataVisualization.Charting.OrientedPanel

A panel that plots elements on a one dimensional plane. In order to minimize collisions it moves elements further and further from the edge of the plane based on their priority. Elements that have the same priority level are always the same distance from the edge.
상속: Windows.UI.Xaml.Controls.Panel
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActualLengthProperty DependencyProperty
ActualMinimumDistanceBetweenChildrenProperty DependencyProperty
CenterCoordinateProperty DependencyProperty
IsInvertedProperty DependencyProperty
IsReversedProperty DependencyProperty
MinimumDistanceBetweenChildrenProperty DependencyProperty
OffsetPaddingProperty DependencyProperty
OrientationProperty DependencyProperty
PriorityProperty DependencyProperty

Private Properties

프로퍼티 타입 설명
GetCenterCoordinate double
GetCorrectedDesiredSize Size
GetMinimumDistanceBetweenItems double
GetPriority int
GetRanges IEnumerable>
MeasureOverride Size
OnIsInvertedPropertyChanged void
OnIsReversedPropertyChanged void
OnMinimumDistanceBetweenChildrenPropertyChanged void
OnOffsetPaddingPropertyChanged void
OnOrientationPropertyChanged void
SetCenterCoordinate void
SetPriority void
UpdateActualLength void

공개 메소드들

메소드 설명
OnCenterCoordinatePropertyChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs ) : void

CenterCoordinateProperty property changed handler.

OnPriorityPropertyChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs ) : void

PriorityProperty property changed handler.

OrientedPanel ( ) : System

Instantiates a new instance of the OrientedPanel class.

보호된 메소드들

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

Arranges items according to position and priority.

OnIsInvertedPropertyChanged ( bool oldValue, bool newValue ) : void

IsInvertedProperty property changed handler.

OnIsReversedPropertyChanged ( bool oldValue, bool newValue ) : void

IsReversedProperty property changed handler.

OnMinimumDistanceBetweenChildrenPropertyChanged ( double oldValue, double newValue ) : void

MinimumDistanceBetweenChildrenProperty property changed handler.

OnOffsetPaddingPropertyChanged ( double oldValue, double newValue ) : void

OffsetPaddingProperty property changed handler.

OnOrientationPropertyChanged ( Orientation newValue ) : void

OrientationProperty property changed handler.

비공개 메소드들

메소드 설명
GetCenterCoordinate ( UIElement element ) : double
GetCorrectedDesiredSize ( UIElement element ) : Size

Gets the "corrected" DesiredSize (for Line instances); one that is more consistent with how the elements actually render.

GetMinimumDistanceBetweenItems ( IList orderedElements, double>.Func lengthSelector ) : double

Gets the minimum distance between the given elements.

GetPriority ( UIElement element ) : int
GetRanges ( IEnumerable children, double>.Func lengthSelector ) : IEnumerable>

Returns a sequence of ranges for a given sequence of children and a length selector.

MeasureOverride ( Size availableSize ) : Size
OnIsInvertedPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IsInvertedProperty property changed handler.

OnIsReversedPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IsReversedProperty property changed handler.

OnMinimumDistanceBetweenChildrenPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

MinimumDistanceBetweenChildrenProperty property changed handler.

OnOffsetPaddingPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

OffsetPaddingProperty property changed handler.

OnOrientationPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

OrientationProperty property changed handler.

SetCenterCoordinate ( UIElement element, double value ) : void
SetPriority ( UIElement element, int value ) : void
UpdateActualLength ( ) : void

Updates the actual length property.

메소드 상세

ArrangeOverride() 보호된 메소드

Arranges items according to position and priority.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size The final size of the panel.
리턴 Size

OnCenterCoordinatePropertyChanged() 공개 정적인 메소드

CenterCoordinateProperty property changed handler.
public static OnCenterCoordinatePropertyChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs ) : void
dependencyObject DependencyObject UIElement that changed its CenterCoordinate.
eventArgs DependencyPropertyChangedEventArgs Event arguments.
리턴 void

OnIsInvertedPropertyChanged() 보호된 메소드

IsInvertedProperty property changed handler.
protected OnIsInvertedPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool Old value.
newValue bool New value.
리턴 void

OnIsReversedPropertyChanged() 보호된 메소드

IsReversedProperty property changed handler.
protected OnIsReversedPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool Old value.
newValue bool New value.
리턴 void

OnMinimumDistanceBetweenChildrenPropertyChanged() 보호된 메소드

MinimumDistanceBetweenChildrenProperty property changed handler.
protected OnMinimumDistanceBetweenChildrenPropertyChanged ( double oldValue, double newValue ) : void
oldValue double Old value.
newValue double New value.
리턴 void

OnOffsetPaddingPropertyChanged() 보호된 메소드

OffsetPaddingProperty property changed handler.
protected OnOffsetPaddingPropertyChanged ( double oldValue, double newValue ) : void
oldValue double Old value.
newValue double New value.
리턴 void

OnOrientationPropertyChanged() 보호된 메소드

OrientationProperty property changed handler.
protected OnOrientationPropertyChanged ( Orientation newValue ) : void
newValue Orientation New value.
리턴 void

OnPriorityPropertyChanged() 공개 정적인 메소드

PriorityProperty property changed handler.
public static OnPriorityPropertyChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs eventArgs ) : void
dependencyObject DependencyObject UIElement that changed its Priority.
eventArgs DependencyPropertyChangedEventArgs Event arguments.
리턴 void

OrientedPanel() 공개 메소드

Instantiates a new instance of the OrientedPanel class.
public OrientedPanel ( ) : System
리턴 System

프로퍼티 상세

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

Identifies the ActualLength dependency property.
public static DependencyProperty ActualLengthProperty
리턴 DependencyProperty

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

Identifies the ActualMinimumDistanceBetweenChildren dependency property.
public static DependencyProperty ActualMinimumDistanceBetweenChildrenProperty
리턴 DependencyProperty

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

Identifies the CenterCoordinate dependency property.
public static DependencyProperty CenterCoordinateProperty
리턴 DependencyProperty

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

Identifies the IsInverted dependency property.
public static DependencyProperty IsInvertedProperty
리턴 DependencyProperty

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

Identifies the IsReversed dependency property.
public static DependencyProperty IsReversedProperty
리턴 DependencyProperty

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

Identifies the MinimumDistanceBetweenChildren dependency property.
public static DependencyProperty MinimumDistanceBetweenChildrenProperty
리턴 DependencyProperty

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

Identifies the OffsetPadding dependency property.
public static DependencyProperty OffsetPaddingProperty
리턴 DependencyProperty

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

Identifies the Orientation dependency property.
public static DependencyProperty OrientationProperty
리턴 DependencyProperty

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

Identifies the Priority dependency property.
public static DependencyProperty PriorityProperty
리턴 DependencyProperty