Namespace: Semata.ControlsCLR
Class: SelectorDetailSource
Construct a new instance of SelectorDetailSource.
public: ^ SelectorDetailSource(Object^ source, Func<IEditableData>^ creator, Func<object, IEditableData>^ getDetailData, Func<IEditableData, bool> isOkToSave, Func<IEditableData, bool> isOkToCancel, EditableDataManager.EditingMode^ mode)
Parameters
Type | Name | Description |
Object^ | source | An object can provide an ICollectionView. |
Func<IEditableData>^ | creator | A delegate that returns an IEditableData. |
Func<object, IEditableData>^ | getDetailData | A delegate that, when passed an object, returns an IEditableData based on that object. |
Func<IEditableData, bool> | isOkToSave | A delegate that, when passed an object implenting IEditableData, returns true if it is ok to save that object. |
Func<IEditableData, bool> | isOkToCancel | A delegate that, when passed an object implenting IEditableData, returns true if it is ok to cancel edits on that object. |
EditableDataManager.EditingMode^ | mode | The editing mode. |
Returns: MISSING PAGE