UltrachartGroup

StockSharp.Xaml.Charting

An ItemsControl which allows grouping of multiple UltrachartSurface instances to create a multi-paned chart. Used specifically by StockCharts but also applicable to other chart types

Inherits: ItemsControl

Implements: INotifyPropertyChanged

Constructors

UltrachartGroup
public UltrachartGroup()
ultrachartGroup = UltrachartGroup()

Initializes a new instance of the UltrachartGroup class.

Properties

HasTabbedItems
public bool HasTabbedItems { get; }
value = ultrachartGroup.HasTabbedItems

Gets a value, indicates, whether container has tabbed panes

IsTabbed
public bool IsTabbed { get; set; }
value = ultrachartGroup.IsTabbed
ultrachartGroup.IsTabbed = value

Gets or sets value, indicates whether panes are tabbed or not

Methods

GetContainerForItemOverride
protected override DependencyObject GetContainerForItemOverride()
result = ultrachartGroup.GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Returns: The element that is used to display the given item.

GetVerticalChartGroup
public static string GetVerticalChartGroup(DependencyObject element)
result = UltrachartGroup.GetVerticalChartGroup(element)

Gets the vertical chart group depedency property

element
The element.
IsItemItsOwnContainerOverride
protected override bool IsItemItsOwnContainerOverride(object item)
result = ultrachartGroup.IsItemItsOwnContainerOverride(item)

Determines if the specified item is (or is eligible to be) its own container.

item
The item to check.

Returns: true if the item is (or is eligible to be) its own container; otherwise, false.

OnApplyTemplate
public override void OnApplyTemplate()
ultrachartGroup.OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.

OnItemsChanged
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
ultrachartGroup.OnItemsChanged(e)

Invoked when the Items property changes.

e
Information about the change.
OnItemsSourceChanged
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
ultrachartGroup.OnItemsSourceChanged(oldValue, newValue)

Called when the ItemsSource property changes.

oldValue
Old value of the ItemsSource property.
newValue
New value of the ItemsSource property.
SetVerticalChartGroup
public static void SetVerticalChartGroup(DependencyObject element, string syncWidthGroup)
UltrachartGroup.SetVerticalChartGroup(element, syncWidthGroup)

Sets the vertical chart group dependency Property

element
The element.
syncWidthGroup
The named group

Events

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
ultrachartGroup.PropertyChanged += handler

Occurs when a property changes. Part of the INotifyPropertyChanged implementation

Fields

IsTabbedProperty
public static readonly DependencyProperty IsTabbedProperty
value = UltrachartGroup.IsTabbedProperty

Defines the IsTabbed DependencyProperty

VerticalChartGroupProperty
public static readonly DependencyProperty VerticalChartGroupProperty
value = UltrachartGroup.VerticalChartGroupProperty

Defines the VerticalChartGroup DependencyProperty