Class SourceListSetEntry
Implements the functionalities that provides access to the underlying source lists for entries in the SourceListSet. SourceListSetEntry classes are used by the RelationDescriptor to look up related lists for a parent table at run-time and to determine schema information for the table descriptor of the related table. If the engine's data source is a DataView or DataTable, SourceListSetEntry entries are populated from the DataTable and DataView objects within the DataViewManager or DataSet.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class SourceListSetEntry : IDisposable
Constructors
SourceListSetEntry()
Initializes a new empty instance ofSourceListSetEntry class.
Declaration
public SourceListSetEntry()
SourceListSetEntry(IEnumerable)
Initializes a new instance ofSourceListSetEntry class with a name and the list that is referenced.
Declaration
public SourceListSetEntry(IEnumerable list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | list | The list this item references and provides access for. The name of the list is determined by testing the list for implementation of ITypedList interface which then has a GetName property. |
SourceListSetEntry(String, IEnumerable)
Initializes a new instance ofSourceListSetEntry class with a name and the list that is referenced.
Declaration
public SourceListSetEntry(string name, IEnumerable list)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the list. This name is used to look up the entry. |
System.Collections.IEnumerable | list | The list this item references and provides access for. |
Properties
List
Gets or sets the list that this entry references and provides access for.
Declaration
public IEnumerable List { get; set; }
Property Value
Type |
---|
System.Collections.IEnumerable |
Name
Gets or sets the name of the list. This name is used to look up the entry.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Methods
Dispose()
Disposes of the object.
Declaration
public void Dispose()
OnListChanged(EventArgs)
Raises the Syncfusion.Grouping.SourceListSetEntry.list event.
Declaration
protected virtual void OnListChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
OnNameChanged(EventArgs)
Raises the Syncfusion.Grouping.SourceListSetEntry.name event.
Declaration
protected virtual void OnNameChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
ResetList()
Resets the List to NULL.
Declaration
public void ResetList()
ResetName()
Resets the name of the list back to its original value. The original name of the list is determined by testing the list for implementation of the ITypedList interface which then has a GetName property.
Declaration
public void ResetName()
Events
ListChanged
Occurs when the List is replaced.
Declaration
public event EventHandler ListChanged
Event Type
Type |
---|
System.EventHandler |
NameChanged
Occurs when the Name is changed.
Declaration
public event EventHandler NameChanged
Event Type
Type |
---|
System.EventHandler |