C++ C#

Semata.ControlsCLR

API Reference

Enumerations

Name Description
EditingMode

Normal: The EditCommand sets the object beging edited to that selected by the selector. The New Command sets the object beging edited to the result of calling Creator().

AutoEdit: The object beging edited is set to that selected by the selector. The NewCommand sets the object beging edited to the result of calling Creator().

AutoNew: The object beging edited is set to the result of calling Creator(). EditCommand needs executing sets the object beging edited to that selected by the selector.

Interfaces

Name Description
IEditableDataSource

Allows selection of object in associated Selector

Classes

Name Description
BoundCommand

An Implementation of ICommand

EditableDataManager

EditableDataManager manages the currently selected IEditableData object.

The object itself is accessed throught the property Data.

It allows: the object to be edited and deleted; a new object to be created; and a edits to be cancelled.

It provides commands that can be bound to to do this, or the methods themselves can be called.

It coordinates with the SelectorDetailSource to prevent the selected item being changed will edits are active.

EditableDataValidationRule

Calls Validate() on the currently edited IEditableData object

IsNotNullConverter

Checks the value for null

NegationConverter

Negates boolean binding

ObjectArrayConverter

Aggregates all the objects of a multibinding into an array

SelectorDetail

SelectorDetail is a WPF control designed to provide Master/Detail coordination between a Selector control, whose Items implement IEditableData, and a set of controls that allow the particular item selected to be edited.

The SelectorDetail instance needs to be an ancestor of the Selector and the controls that provide for editing.

It should have its DataContext set to an instance of a SelectorDetailSource.

The child Selector and editing controls can then bind to the properties of the SelectorDetailSource.

SelectorDetailSource

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.

Exceptions

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.