C# Класс WinRTXamlToolkit.Controls.DataVisualization.Charting.DefinitionSeries

Наследование: Windows.UI.Xaml.Controls.Control, ISeries, IAxisListener, IRangeProvider, IValueMarginProvider, IDataProvider, ISeriesHost
Показать файл Открыть проект

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

Свойство Тип Описание
ActualDependentAxisProperty Windows.UI.Xaml.DependencyProperty
ActualIndependentAxisProperty Windows.UI.Xaml.DependencyProperty
DependentAxisProperty Windows.UI.Xaml.DependencyProperty
IndependentAxisProperty Windows.UI.Xaml.DependencyProperty
SelectedIndexProperty Windows.UI.Xaml.DependencyProperty
SelectedItemProperty Windows.UI.Xaml.DependencyProperty
SelectionModeProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Тип Описание
AddDataItems void
AddedDataItems void
ClearContainerForItem void
DataPointActualDependentValueChanged void
DataPointActualIndependentValueChanged void
DataPointDependentValueChanged void
DataPointIndependentValueChanged void
DataPointStateChanged void
EnsureAxes void
IAxisListener void
IDataProvider IEnumerable
IRangeProvider Range
IResourceDictionaryDispenser IEnumerator
IValueMarginProvider IEnumerable
InternalCreateDataPoint DataPoint
ItemContainerSelectionChanged void
ItemContainerSizeChanged void
OnDependentAxisChanged void
OnDependentAxisChanged void
OnIndependentAxisChanged void
OnIndependentAxisChanged void
OnSelectionModeChanged void
OnSelectionModeChanged void
PrepareContainerForItem void
QueueUpdateDataItemPlacement void
RemovedDataItems void
SelectedItemsCollectionChanged void
SeriesDefinitionItemsSourceChanged void
SeriesDefinitionItemsSourceCollectionChanged void
SeriesDefinitionsCollectionChanged void
SeriesHostResourceDictionariesChanged void
UpdatePaletteProperties void

Защищенные методы

Метод Описание
AcquireDependentAxis ( ) : IAxis

Acquires a dependent axis suitable for use with the data values of the series.

AcquireIndependentAxis ( ) : IAxis

Acquires an independent axis suitable for use with the data values of the series.

ArrangeOverride ( Size arrangeBounds ) : Size

Called when the control needs to arrange its children.

Used as a good place to dequeue queued work.

CreateDataPoint ( ) : DataPoint

Creates a DataPoint for the series.

DataItemFromDataPoint ( DataPoint dataPoint ) : DataItem

Returns the DataItem corresponding to the specified DataPoint.

DefinitionSeries ( ) : System

Initializes a new instance of the DefinitionSeries class.

IDataProviderGetData ( IDataConsumer dataConsumer ) : IEnumerable

Returns the data for the data points of the series.

IRangeProviderGetRange ( IRangeConsumer rangeConsumer ) : Range

Returns the range for the data points of the series.

IValueMarginProviderGetValueMargins ( IValueMarginConsumer valueMarginConsumer ) : IEnumerable

Returns the value margins for the data points of the series.

NotifyAxisValuesChanged ( IAxis axis ) : void

Notifies the specified axis of changes to values plotting against it.

NotifyValueMarginsChanged ( IAxis axis, IEnumerable valueMargins ) : void

Notifies the specified axis of changes to value margins plotting against it.

OnApplyTemplate ( ) : void

Builds the visual tree for the control when a new template is applied.

PrepareDataPoint ( DataPoint dataPoint ) : void

Prepares a DataPoint for use.

SeriesDefinitionsCollectionChanged ( NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex ) : void

Handles the CollectionChanged event of the SeriesDefinitions collection.

UpdateDataItemPlacement ( IEnumerable dataItems ) : void

Updates the placement of the DataItems (data points) of the series.

Приватные методы

Метод Описание
AddDataItems ( SeriesDefinition definition, IEnumerable items, int startingIndex ) : void

Creates and adds DataItems for the specified SeriesDefinition's items.

AddedDataItems ( ) : void

Updates the axes after DataItems have been added.

ClearContainerForItem ( DependencyObject element, object item ) : void

Undoes the effects of the PrepareContainerForItemOverride method.

DataPointActualDependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the ActualDependentValueChanged event of a DataPoint.

DataPointActualIndependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the ActualIndependentValueChanged event of a DataPoint.

DataPointDependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the DependentValueChanged event of a DataPoint.

DataPointIndependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the IndependentValueChanged event of a DataPoint.

DataPointStateChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the StateChanged event of a DataPoint.

EnsureAxes ( bool updateDependentAxis, bool updateIndependentAxis, bool unconditionallyNotifyAxes ) : void

Ensures that suitable axes are present and registered.

IAxisListener ( IAxis axis ) : void

Handles notification of the invalidation of an axis.

IDataProvider ( IDataConsumer dataConsumer ) : IEnumerable

Returns the data for the data points of the series.

IRangeProvider ( IRangeConsumer rangeConsumer ) : Range

Returns the range for the data points of the series.

IResourceDictionaryDispenser ( bool>.Func predicate ) : IEnumerator

Gets a IResourceDictionaryDispenser for the series as a series host.

IValueMarginProvider ( IValueMarginConsumer valueMarginConsumer ) : IEnumerable

Returns the value margins for the data points of the series.

InternalCreateDataPoint ( ) : DataPoint

Provides an internally-accessible wrapper for calling CreateDataPoint.

ItemContainerSelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Handles the SelectionChanged event of the ItemContainer class.

ItemContainerSizeChanged ( object sender, SizeChangedEventArgs e ) : void

Handles the SizeChanged event of the ItemContainer.

OnDependentAxisChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DependentAxis dependency property.

OnDependentAxisChanged ( IAxis oldValue, IAxis newValue ) : void
OnIndependentAxisChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IndependentAxis dependency property.

OnIndependentAxisChanged ( IAxis oldValue, IAxis newValue ) : void
OnSelectionModeChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the SelectionMode dependency property.

OnSelectionModeChanged ( SeriesSelectionMode oldValue, SeriesSelectionMode newValue ) : void
PrepareContainerForItem ( DependencyObject element, object item ) : void

Prepares the specified element to display the specified item.

QueueUpdateDataItemPlacement ( bool dependentAxisValuesChanged, bool independentAxisValuesChanged, IEnumerable dataItems ) : void

Queues an update of DataItem placement for the next update opportunity.

RemovedDataItems ( ) : void

Notifies the axes after DataItems have been removed.

SelectedItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles the CollectionChanged event of the SelectedItems collection.

SeriesDefinitionItemsSourceChanged ( SeriesDefinition definition, IEnumerable oldValue, IEnumerable newValue ) : void

Handles changes to the ItemsSource of a SeriesDefinition.

SeriesDefinitionItemsSourceCollectionChanged ( SeriesDefinition definition, NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex ) : void
SeriesDefinitionsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles the CollectionChanged event of the SeriesDefinitions collection.

SeriesHostResourceDictionariesChanged ( object sender, EventArgs e ) : void

Handles the ResourceDictionariesChanged event of the SeriesHost owner.

UpdatePaletteProperties ( SeriesDefinition definition ) : void

Updates the palette properties of the specified SeriesDefinition.

Описание методов

AcquireDependentAxis() защищенный абстрактный Метод

Acquires a dependent axis suitable for use with the data values of the series.
protected abstract AcquireDependentAxis ( ) : IAxis
Результат IAxis

AcquireIndependentAxis() защищенный абстрактный Метод

Acquires an independent axis suitable for use with the data values of the series.
protected abstract AcquireIndependentAxis ( ) : IAxis
Результат IAxis

ArrangeOverride() защищенный Метод

Called when the control needs to arrange its children.
Used as a good place to dequeue queued work.
protected ArrangeOverride ( Size arrangeBounds ) : Size
arrangeBounds Windows.Foundation.Size Bounds to arrange within.
Результат Windows.Foundation.Size

CreateDataPoint() защищенный абстрактный Метод

Creates a DataPoint for the series.
protected abstract CreateDataPoint ( ) : DataPoint
Результат DataPoint

DataItemFromDataPoint() защищенный Метод

Returns the DataItem corresponding to the specified DataPoint.
protected DataItemFromDataPoint ( DataPoint dataPoint ) : DataItem
dataPoint DataPoint Specified DataPoint.
Результат DataItem

DefinitionSeries() защищенный Метод

Initializes a new instance of the DefinitionSeries class.
protected DefinitionSeries ( ) : System
Результат System

IDataProviderGetData() защищенный Метод

Returns the data for the data points of the series.
protected IDataProviderGetData ( IDataConsumer dataConsumer ) : IEnumerable
dataConsumer IDataConsumer Consumer of the data.
Результат IEnumerable

IRangeProviderGetRange() защищенный Метод

Returns the range for the data points of the series.
protected IRangeProviderGetRange ( IRangeConsumer rangeConsumer ) : Range
rangeConsumer IRangeConsumer Consumer of the range.
Результат Range

IValueMarginProviderGetValueMargins() защищенный Метод

Returns the value margins for the data points of the series.
protected IValueMarginProviderGetValueMargins ( IValueMarginConsumer valueMarginConsumer ) : IEnumerable
valueMarginConsumer IValueMarginConsumer Consumer of the value margins.
Результат IEnumerable

NotifyAxisValuesChanged() защищенный Метод

Notifies the specified axis of changes to values plotting against it.
protected NotifyAxisValuesChanged ( IAxis axis ) : void
axis IAxis Specified axis.
Результат void

NotifyValueMarginsChanged() защищенный Метод

Notifies the specified axis of changes to value margins plotting against it.
protected NotifyValueMarginsChanged ( IAxis axis, IEnumerable valueMargins ) : void
axis IAxis Specified axis.
valueMargins IEnumerable Sequence of value margins that have changed.
Результат void

OnApplyTemplate() защищенный Метод

Builds the visual tree for the control when a new template is applied.
protected OnApplyTemplate ( ) : void
Результат void

PrepareDataPoint() защищенный Метод

Prepares a DataPoint for use.
protected PrepareDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint DataPoint instance.
Результат void

SeriesDefinitionsCollectionChanged() защищенный Метод

Handles the CollectionChanged event of the SeriesDefinitions collection.
protected SeriesDefinitionsCollectionChanged ( NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex ) : void
action NotifyCollectionChangedAction Type of change.
oldItems IList Sequence of old items.
oldStartingIndex int Starting index of old items.
newItems IList Sequence of new items.
newStartingIndex int Starting index of new items.
Результат void

UpdateDataItemPlacement() защищенный абстрактный Метод

Updates the placement of the DataItems (data points) of the series.
protected abstract UpdateDataItemPlacement ( IEnumerable dataItems ) : void
dataItems IEnumerable DataItems in need of an update.
Результат void

Описание свойств

ActualDependentAxisProperty публичное статическое свойство

Identifies the ActualDependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualDependentAxisProperty
Результат Windows.UI.Xaml.DependencyProperty

ActualIndependentAxisProperty публичное статическое свойство

Identifies the ActualIndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualIndependentAxisProperty
Результат Windows.UI.Xaml.DependencyProperty

DependentAxisProperty публичное статическое свойство

Identifies the DependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentAxisProperty
Результат Windows.UI.Xaml.DependencyProperty

IndependentAxisProperty публичное статическое свойство

Identifies the IndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentAxisProperty
Результат Windows.UI.Xaml.DependencyProperty

SelectedIndexProperty публичное статическое свойство

Identifies the SelectedIndex dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectedIndexProperty
Результат Windows.UI.Xaml.DependencyProperty

SelectedItemProperty публичное статическое свойство

Identifies the SelectedItem dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectedItemProperty
Результат Windows.UI.Xaml.DependencyProperty

SelectionModeProperty публичное статическое свойство

Identifies the SelectionMode dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectionModeProperty
Результат Windows.UI.Xaml.DependencyProperty