Class HierarchicalListSource
Data source for hierarchical charts (TreeMap, Sunburst, Bubble) which loads data into Records collection using DataBinding to objects like System.Data.DataSet or an System.Array DataTable
Inheritance
Implements
Inherited Members
Namespace: FastReport.BG.Data
Assembly: FastReport.BG.dll
Syntax
[ComplexBindingProperties("DataSource", "DataMember")]
public class HierarchicalListSource : HierarchicalDataSourceBase, IComponent, IDisposable, IHierarchicalDataSource, ISupportInitialize
Constructors
HierarchicalListSource()
Construct new HierarchicalListSource
Declaration
public HierarchicalListSource()
Properties
DataMember
Gets or sets the data member
Declaration
public string DataMember { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataSource
Gets or sets the data source.
Returns: An object that implements the System.Collections.IList or System.ComponentModel.IListSource interfaces, such as a System.Data.DataSet or an System.Array. The default is
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
LevelTextMembers
Gets level text members for HierarchicalListSource
Declaration
public ObservableCollection<string> LevelTextMembers { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.String> |
Records
Gets hierarchical records
Declaration
[Browsable(false)]
public override HierarchicalRecords Records { get; }
Property Value
Type | Description |
---|---|
HierarchicalRecords |
Overrides
Root
Gets roots from HierarchicalRootRecord
Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public override HierarchicalRootRecord Root { get; }
Property Value
Type | Description |
---|---|
HierarchicalRootRecord |
Overrides
ValueMember
Gets or sets the property to use as value Records elements collection
Declaration
[Browsable(true)]
public override string ValueMember { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
ValueMembers
Gets value members for
Declaration
public ObservableCollection<string> ValueMembers { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.String> |
Methods
Dispose(Boolean)
Dispose.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
EndInit()
End init.
Declaration
public override void EndInit()
Overrides
GetValueMembers()
Get value members from HierarchicalListSource
Declaration
public override IEnumerable<string> GetValueMembers()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | Collection of value members |