Infragistics(R) NetAdvantage(R) for WPF
Editors


Glossary Item Box

All NetAdvantage for WPF controls derived from the DataPresenterBase class follow the same pattern of delegating the editing experience your users enjoy to an extensible editing object model. This allows you to plug in the most suitable xamEditor control for your situation (e.g., xamTextEditor™). There are also a few common principles that make programming the editors easy, no matter which of our controls you are using.

All editors that can be embedded into our controls extend the ValueEditor abstract base class. Editors, then, add the specialized editing functionality they need through inheritance. The xamEditor control grouping provides you with editors for most frequently encountered data entry scenarios so you do not need to write your own. This base class gives all editors a common set of editing-related events (see Overview of the ValueEditor Class for more details), so that we can interact with them.

There are three properties you can use to associate an editor with a value displayed by our controls:



Editors can be applied at either Field or Cell level.


The above illustration shows you two different scopes at which you can associate an editor with our WPF controls:

If you are setting up the editor at the cell level, it is recommended that you handle the InitializeRecord event.


Related Topics

xamCheckEditor

xamCurrencyEditor

xamDateTimeEditor

xamMaskedEditor

xamNumericEditor

xamTextEditor