UltrachartGroup
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
public UltrachartGroup()
ultrachartGroup = UltrachartGroup()
Initializes a new instance of the UltrachartGroup class.
Properties
public bool HasTabbedItems { get; }
value = ultrachartGroup.HasTabbedItems
Gets a value, indicates, whether container has tabbed panes
public bool IsTabbed { get; set; }
value = ultrachartGroup.IsTabbed
ultrachartGroup.IsTabbed = value
Gets or sets value, indicates whether panes are tabbed or not
Methods
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.
public static string GetVerticalChartGroup(DependencyObject element)
result = UltrachartGroup.GetVerticalChartGroup(element)
Gets the vertical chart group depedency property
- element
- The element.
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.
public override void OnApplyTemplate()
ultrachartGroup.OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
ultrachartGroup.OnItemsChanged(e)
Invoked when the Items property changes.
- e
- Information about the change.
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.
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
public event PropertyChangedEventHandler PropertyChanged
ultrachartGroup.PropertyChanged += handler
Occurs when a property changes. Part of the INotifyPropertyChanged implementation
Fields
public static readonly DependencyProperty IsTabbedProperty
value = UltrachartGroup.IsTabbedProperty
Defines the IsTabbed DependencyProperty
public static readonly DependencyProperty VerticalChartGroupProperty
value = UltrachartGroup.VerticalChartGroupProperty
Defines the VerticalChartGroup DependencyProperty