C++ C#

SelectorDetailSource Class

API Reference

Namespace: Semata.ControlsCLR

The purpose of SelectorDetailSource is to act as the DataContext for a SelectorDetail. It provides access to a CollectionView through the property SelectionSource, and to a EditableDataManager through the property Detail.

public class SelectorDetailSource : INotifyPropertyChanged, IEditableDataSource

Implements: INotifyPropertyChanged , IEditableDataSource

Constructors

Name Description
SelectorDetailSource(object, Func<IEditableData>, Func<object, IEditableData>, EditableDataManager.EditingMode)

Construct a new instance of SelectorDetailSource.

When the selected object changes, and there are edits pending on the current object, displays a dialog asking if ok to save.

When cancelling edits, displays a dialog asking if ok to cancel.

SelectorDetailSource(object, Func<IEditableData>, Func<object, IEditableData>, Func<IEditableData, bool>, EditableDataManager.EditingMode)

Construct a new instance of SelectorDetailSource.

When cancelling edits, displays a dialog asking if ok to cancel.

SelectorDetailSource(object, Func<IEditableData>, Func<object, IEditableData>, Func<IEditableData, bool>, Func<IEditableData, bool>, EditableDataManager.EditingMode)

Construct a new instance of SelectorDetailSource.

SelectorDetailSource(object, Func<object, IEditableData>, EditableDataManager.EditingMode)

Construct a new instance of SelectorDetailSource.

When the selected object changes, and there are edits pending on the current object, displays a dialog asking if ok to save.

When cancelling edits, displays a dialog asking if ok to cancel.

SelectorDetailSource(object, Func<object, IEditableData>, Func<IEditableData, bool>, EditableDataManager.EditingMode)

Construct a new instance of SelectorDetailSource.

When cancelling edits, displays a dialog asking if ok to cancel.

SelectorDetailSource(object, Func<object, IEditableData>, Func<IEditableData, bool>, Func<IEditableData, bool>, EditableDataManager.EditingMode)

Construct a new instance of SelectorDetailSource.

Events

Name Description
PropertyChanged

Occurs whenever the object selected by the Selector changes

Properties

Name Description
Detail

Returns the associated EditableDataManager

SelectorSource

Returns the ICollectionView that the source of the Selector

Methods

Name Description
SetCurrent(IEditableData)

Sets the currently selected object in the Selector

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.