Skip to main content
.NET 6.0+

ObjectView Members

Represents a base class for Views that display object(s) of a particular type.

Fields

Name Description
InfoAllowDelete For internal use only.
InfoAllowEdit For internal use only.
InfoAllowNew For internal use only.
MaxRecursionDepth static Specifies the max recursion depth of the CompositeView. Inherited from CompositeView.
SecurityReadOnlyItemName static Returns a key used to create an item in the View.AllowEdit collection of the current View. This key specifies a reason for making the View editable/read-only when the Security System allows/denies access to edit to the object(s) represented by the View. Inherited from View.

Properties

Name Description
AllowDelete Provides access to a collection of reason/value pairs used to allow or prohibit deletion of objects via a View. Inherited from View.
AllowEdit Provides access to a collection of reason/value pairs used to make a View read-only/editable. Inherited from View.
AllowNew Provides access to a collection of reason/value pairs used to allow or prohibit creation of new objects via a View. Inherited from View.
Caption Specifies a View‘s caption. Inherited from View.
ContentUniqueCode For internal use. Inherited from View.
Control Returns the current View‘s control. Inherited from View.
CurrentObject Specifies a View‘s current object. Inherited from View.
DelayedItemsInitialization Indicates whether, when the View is created, View Items controls of the CompositeView are initialized immediately. Inherited from CompositeView.
ErrorMessages Provides access to the current View‘s message collection. Inherited from View.
Id Returns a View‘s ID. Inherited from View.
Initialization Inherited from View.
IsControlCreated Indicates whether a View‘s View.Control has been created. Inherited from View.
IsDisposed Gets a value indicating whether a View has been disposed of. Inherited from View.
IsRoot Specifies whether a View is root. Inherited from View.
Items Provides access to a Composite View’s View Items collection. Inherited from CompositeView.
LayoutManager Specifies a Composite View’s layout manager. Inherited from CompositeView.
MaxRecursionDeep static Inherited from CompositeView.
Model Provides access to information on an Object View, which is stored in the Application Model.
ObjectSpace Provides access to the Object Space within which a View was created. Inherited from CompositeView.
ObjectTypeInfo Specifies metadata information on the current View’s business class.
ScrollPosition Specifies the scroll point of Windows in ASP.NET Web Forms applications. Inherited from View.
SelectedObjects Specifies a View‘s selected objects. Inherited from View.
SelectionType Returns the selection type supported by a View. Inherited from View.
SkipObjectSpaceDisposing For internal use. Inherited from CompositeView.
SkipQueryCanClose For internal use. Inherited from View.
Tag Specifies the custom data associated with the View. Inherited from View.

Methods

Name Description
AddItem(ViewItem) Adds a specified View Item to a Composite View’s CompositeView.Items collection. Inherited from CompositeView.
AddItem(IModelViewItem) Creates a View Item using specified information on it, and adds it to a Composite View’s CompositeView.Items collection. Inherited from CompositeView.
AnalyzeModelForInfiniteRecursion(IModelCompositeView) For internal use. Inherited from CompositeView.
BreakLinksToControls() Removes references to a Composite View’s controls and their event handlers. Inherited from CompositeView.
CanChangeCurrentObject() Determines whether a View‘s current object can be changed. Inherited from View.
CanClose() Determines whether a View can be closed. Inherited from View.
Close() Closes a View. Inherited from View.
Close(Boolean) Closes a View if it is allowed to be closed. Inherited from View.
CreateControls() Creates controls that visualize a View in a UI. Inherited from View.
CreateShortcut() Returns key information on the current View. Inherited from View.
DisableEditorsRefreshing() For internal use.
Dispose() Releases all resources used by this View object. Inherited from View.
EnableEditorsRefreshing() For internal use.
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.
ExecuteAfterInitialized(Action<Task>) Inherited from View.
FindItem(String) Returns a specified View Item from a Composite View’s CompositeView.Items collection. Inherited from CompositeView.
GetCurrentObjectCaption() Returns the current object’s caption, formatted according to the applied ObjectCaptionFormatAttribute.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetItems<T>() Returns View Items of the specified type from the CompositeView.Items collection. Inherited from CompositeView.
GetType() Gets the Type of the current instance. Inherited from Object.
InsertItem(Int32, ViewItem) Inserts a new View Item to a specified position within the CompositeView.Items collection. Inherited from CompositeView.
InsertItem(Int32, IModelViewItem) Creates a View Item using specified information on it, and inserts it to a Composite View’s CompositeView.Items collection at a specified position. Inherited from CompositeView.
IsSameObjectSpace(View) Checks whether a specific View interacts with the database via the current View’s Object Space.
LoadModel() For internal use. Inherited from View.
LoadModel(Boolean) Applies the Application Model changes to the current View. Inherited from View.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
RaiseActivated() Raises the View.Activated event. Inherited from View.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Refresh() Refreshes displayed values of the View‘s controls with new values from the data source collection (not from the database itself). Inherited from View.
Refresh(Boolean) Refreshes displayed values of the View‘s controls with new values from the data source collection (and optionally, from the database itself). Inherited from View.
RefreshDataSource() Refreshes the data source of the current View. Inherited from View.
RemoveItem(String) Removes a particular View Item from a Composite View’s CompositeView.Items collection. Inherited from CompositeView.
SaveModel() Writes information on a View to the Application Model. Inherited from View.
SetModel(IModelView) For internal use. Inherited from View.
ToString() Returns a View‘s textual representation. Inherited from View.
UpdateItem(ViewItem) Updates a specific View Item. Inherited from CompositeView.

Events

Name Description
Activated Occurs when the View.RaiseActivated method is executed. Inherited from View.
AllowDeleteChanged Occurs when the current View‘s View.AllowDelete state has changed. Inherited from View.
AllowEditChanged Occurs when the current View‘s View.AllowEdit state has changed. Inherited from View.
AllowNewChanged Occurs when the current View‘s View.AllowNew state has changed. Inherited from View.
CaptionChanged Occurs after changing a View‘s caption. Inherited from View.
Closed Occurs after the current View is closed. Inherited from View.
Closing Occurs when closing a View. Inherited from View.
ControlsCreated Occurs after controls for a View are created. Inherited from View.
ControlsCreating Occurs before creating controls for a View. Inherited from View.
CurrentObjectChanged Occurs after changing a View’s focused object (not an object’s property value). Inherited from View.
CustomizeViewShortcut Occurs when the View.CreateShortcut method creates a View Shortcut for the current View. Inherited from View.
CustomModelSaving Occurs when saving information on a View’s editor(s) to the Application Model. Inherited from View.
DataSourceAsyncLoaded For internal use. Inherited from View.
DataSourceAsyncLoading For internal use. Inherited from View.
DataSourceAsyncLoadingCanceled For internal use. Inherited from View.
Disposing Occurs when the current View is disposed of. Inherited from View.
ItemsChanged Occurs after changing a Composite View’s CompositeView.Items collection. Inherited from CompositeView.
ModelChanged Occurs after setting the View.Model property for a View. Inherited from View.
ModelChanging Occurs before setting the View.Model property for a View. Inherited from View.
ModelLoaded This event is intended for internal use. Inherited from View.
ModelSaved Occurs after the information on a View has been saved to the Application Model. Inherited from View.
ModelSaving Occurs before saving information on a View’s controls to the Application Model. Inherited from View.
QueryCanChangeCurrentObject Occurs when the View is asked whether its current object can be changed. Inherited from View.
QueryCanClose Occurs when checking whether a View can be closed. Inherited from View.
SelectionChanged Occurs after changing a View’s selected objects. Inherited from View.
SelectionTypeChanged Occurs when the current View’s selection type is changed. Inherited from View.
See Also