Class ChartBehaviorsCollection
A collection class which holds ChartBehaviors.
Inheritance
System.Object
ChartBehaviorsCollection
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class ChartBehaviorsCollection : ObservableCollection<ChartBehavior>
Constructors
ChartBehaviorsCollection()
Called when instance created for ChartBehaviorsCollection
Declaration
public ChartBehaviorsCollection()
ChartBehaviorsCollection(SfChart)
Called when instance created for ChartBehaviourCollection
Declaration
public ChartBehaviorsCollection(SfChart area)
Parameters
Type | Name | Description |
---|---|---|
SfChart | area |
Methods
ClearItems()
Clears the behavior collection in the items.
Declaration
protected override void ClearItems()
InsertItem(Int32, ChartBehavior)
Inserts an item into the collection at the specified index.
Declaration
protected override void InsertItem(int index, ChartBehavior item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which |
ChartBehavior | item | The object to insert. |
RemoveItem(Int32)
Removes the item at the specified index of the collection.
Declaration
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to remove. |