Interface IDetailsViewNotifyListener
Interface used to listen the dependency property changed and collection changed and pass the information to SourceDataGrid or ClonedDataGrid
Namespace: Syncfusion.WinForms.DataGrid
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public interface IDetailsViewNotifyListener
Properties
SourceDataGrid
Gets the source DataGrid.
Declaration
SfDataGrid SourceDataGrid { get; }
Property Value
Type |
---|
SfDataGrid |
Methods
EnsureCollection<T, S>(T, Func<SfDataGrid, T>, Func<S, S, Boolean>, IDetailsViewNotifier)
Ensures the collections.
Declaration
void EnsureCollection<T, S>(T source, Func<SfDataGrid, T> target, Func<S, S, bool> predicate, IDetailsViewNotifier notifier)
where T : IList<S>
Parameters
Type | Name | Description |
---|---|---|
T | source | The source collection. |
System.Func<SfDataGrid, T> | target | The target collection. |
System.Func<S, S, System.Boolean> | predicate | The predicate function. |
IDetailsViewNotifier | notifier | The notifier. |
Type Parameters
Name | Description |
---|---|
T | The collection of source type. |
S | The source type. |
GetParentDataGrid()
Gets the parent DataGrid.
Declaration
SfDataGrid GetParentDataGrid()
Returns
Type | Description |
---|---|
SfDataGrid | Returns the parent DataGrid. |
NotifyCollectionChanged(Object, NotifyCollectionChangedEventArgs, Func<SfDataGrid, Object>, IDetailsViewNotifier, Type)
Notifies the collection changed.
Declaration
void NotifyCollectionChanged(object source, NotifyCollectionChangedEventArgs e, Func<SfDataGrid, object> target, IDetailsViewNotifier notifier, Type baseType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The System.Collections.Specialized.NotifyCollectionChangedEventArgs. that contains the event data. |
System.Func<SfDataGrid, System.Object> | target | The target function. |
IDetailsViewNotifier | notifier | The notifier. |
System.Type | baseType | The base type. |
NotifyCollectionPropertyChanged(IDetailsViewNotifier, Type)
Notifies the collection property changed.
Declaration
void NotifyCollectionPropertyChanged(IDetailsViewNotifier notifier, Type baseType)
Parameters
Type | Name | Description |
---|---|---|
IDetailsViewNotifier | notifier | The notifier. |
System.Type | baseType | The base type. |
NotifyPropertyChanged(Object, String, Object, Func<SfDataGrid, Object>, IDetailsViewNotifier, Type)
Notifies the property changed.
Declaration
void NotifyPropertyChanged(object source, string propertyName, object newValue, Func<SfDataGrid, object> target, IDetailsViewNotifier notifier, Type baseType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | source | The source. |
System.String | propertyName | The changed property name. |
System.Object | newValue | The new value of the property. |
System.Func<SfDataGrid, System.Object> | target | The target function. |
IDetailsViewNotifier | notifier | The notifier. |
System.Type | baseType | The base type. |