Interface IDetailsViewNotifyListener
Interface used to listen the dependency property changed and collection changed and pass the information to SourceDataGrid or ClonedDataGrid
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public interface IDetailsViewNotifyListener
Properties
SourceDataGrid
Gets the Source data grid.
Declaration
SfDataGrid SourceDataGrid { get; }
Property Value
| Type |
|---|
| SfDataGrid |
Methods
EnsureCollection<T, S>(T, Func<SfDataGrid, T>, Func<S, S, Boolean>, IDetailsViewNotifier)
Ensures the Collection.
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 Specified Source. |
| System.Func<SfDataGrid, T> | target | The Specified target. |
| System.Func<S, S, System.Boolean> | predicate | The corrsponding predicate. |
| IDetailsViewNotifier | notifier | The Specified IDetailsViewNotifier. |
Type Parameters
| Name |
|---|
| T |
| S |
GetParentDataGrid()
Gets the Parent data grid.
Declaration
SfDataGrid GetParentDataGrid()
Returns
| Type | Description |
|---|---|
| SfDataGrid | The Parent data grid. |
NotifyCollectionChanged(Object, NotifyCollectionChangedEventArgs, Func<SfDataGrid, Object>, IDetailsViewNotifier, Type)
Notifies the collection changes.
Declaration
void NotifyCollectionChanged(object source, NotifyCollectionChangedEventArgs e, Func<SfDataGrid, object> target, IDetailsViewNotifier notifier, Type baseType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | |
| System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | |
| System.Func<SfDataGrid, System.Object> | target | |
| IDetailsViewNotifier | notifier | |
| System.Type | baseType |
NotifyCollectionPropertyChanged(IDetailsViewNotifier, Type)
Notifies when the property of collection changed.
Declaration
void NotifyCollectionPropertyChanged(IDetailsViewNotifier notifier, Type baseType)
Parameters
| Type | Name | Description |
|---|---|---|
| IDetailsViewNotifier | notifier | |
| System.Type | baseType |
NotifyPropertyChanged(Object, String, DependencyPropertyChangedEventArgs, Func<SfDataGrid, Object>, IDetailsViewNotifier, Type)
Notifies the property changes.
Declaration
void NotifyPropertyChanged(object source, string propertyName, DependencyPropertyChangedEventArgs e, Func<SfDataGrid, object> target, IDetailsViewNotifier notifier, Type ownerType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The specified source. |
| System.String | propertyName | The specified property name. |
| Windows.UI.Xaml.DependencyPropertyChangedEventArgs | e | The Windows.UI.Xaml.DependencyPropertyChangedEventArgs contains the event data. |
| System.Func<SfDataGrid, System.Object> | target | The specified target. |
| IDetailsViewNotifier | notifier | The Corresponding IDetailsViewNotifier. |
| System.Type | ownerType | The type of specified owner. |