ListEditor Members
Represents the base class for List Editors.Properties
| Name | Description |
|---|---|
| AllowEdit | Indicates whether the data bound to the current List Editor can be edited via the List Editor’s control. |
| ContextMenuTemplate | Provides access to a List Editor‘s Context Menu Template. |
| Control | Provides access to the control that is used by the current List Editor to represent a List View in a UI. |
| DataSource | Specifies a List Editor‘s data source. |
| ErrorMessages | Provides access to the current ListEditor‘s error message collection, populated when Validation Rules are broken. |
| FocusedObject | Gets or sets the focused object in a List Editor. |
| IsDisposed | Indicates whether a List Editor has been disposed of. |
| List | This property is intended for internal use. |
| Model | Provides access to the Application Model node that defines the List View represented by the current List Editors. |
| Name | Specifies a List Editor‘s name. |
| ProtectedContentText | Specifies the text that is used by a List Editor to display a property which is prohibited for viewing by the current user. |
| RequiredProperties | Returns an array of descriptors for the properties considered bindable by the List Editor‘s Collection Source. |
| RestoreFocusedObject | Specifies whether XAF should restore focus after the object collection changes. |
| SelectionType | Returns the selection type supported by the current List Editor. |
| ServiceProvider | |
| UseAsyncLoading | Specifies whether an XPO-based WinForms application loads a List View’s data asynchronously. |
Methods
| Name | Description |
|---|---|
| ApplyModel() | Updates the current List Editor’s state in accordance with the information stored in the Application Model. |
| BreakLinksToControls() | Removes references to the ListEditor‘s control and its event handlers. |
| CreateControls() | Creates the current List Editor‘s control that represents a List View in a UI. |
| Dispose() | Releases all resources used by a ListEditor object. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetSelectedObjects() | Provides access to the collection of objects that are currently selected in the List Editor‘s control. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Refresh() | Refreshes the bound data source of a List Editor‘s control. |
| SaveModel() | Writes information on a List Editor‘s control to the Application Model. |
| StartIncrementalSearch(String) | Starts an incremental search for the specified string. |
| SupportsDataAccessMode(CollectionSourceDataAccessMode) | Determines whether or not the given data access mode is supported by the ListEditor. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
| Name | Description |
|---|---|
| AllowEditChanged | Occurs after the ListEditor‘s ListEditor.AllowEdit property has changed. |
| ControlsCreated | Occurs after a ListEditor‘s control is created. |
| DataSourceChanged | Occurs after the ListEditor.DataSource property’s value has been changed. |
| FocusedObjectChanged | Occurs after the focused object has been changed in a List Editor‘s control. |
| FocusedObjectChanging | Occurs before the focused object is changed in a List Editor‘s control. |
| ModelApplied | Occurs after the customizations from the Application Model have been applied to the List Editor’s control. |
| ModelApplying | Occurs when customizations from the Application Model are applied to the List Editor’s control. |
| ModelSaved | Occurs after the List Editor’s control customizations have been saved to the Application Model. |
| ModelSaving | Occurs when the List Editor’s control customizations are saved to the Application Model. |
| NewObjectAdding | Occurs before a new object is created in a List Editor. |
| NewObjectCanceled | Occurs after creation of a new object is cancelled in a List Editor. |
| NewObjectCreated | Occurs after a new object has been created in a List Editor. |
| ObjectChanged | For internal use only. |
| ProcessSelectedItem | Occurs after an object is selected in the List Editor‘s control and an end-user presses Enter or double-clicks the object. |
| RequiredPropertiesChanged | |
| SelectionChanged | Occurs after the selection has been changed in a List Editor‘s control. |
| SelectionTypeChanged | Occurs after a List Editor‘s supported selection type is changed. |
| ValidateObject | Occurs when the object represented by the ListEditor‘s focused row must be validated. |
See Also