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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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