Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

WebActionContainerViewItem Members

Represents the Action Container View Item used in XAF ASP.NET Web Forms applications.

Constructors

Name Description
WebActionContainerViewItem(IModelActionContainerViewItem, Type) Creates and initializes a new instance of the WebActionContainerViewItem class.

Properties

Name Description
Actions Provides access to a collection of Actions which are displayed by the Web Action Container View Item.
Caption Returns the Action Container View Item‘s caption. Inherited from ActionContainerViewItem.
ContainerId Specifies the Web Action Container View Item’s Action Container identifier.
Control Provides access to the control used by the WebActionContainerViewItem.
CurrentObject Specifies the object for which the current View Item’s View is created. Inherited from ViewItem.
Id Gets the identifier of the current View Item. Inherited from ViewItem.
IsCaptionVisible Indicates whether the caption of the current View Item should be visible. Inherited from ViewItem.
IsDisposed Inherited from ViewItem.
Model Provides access to the Application Model‘s Item node that defines the current Action Container View Item. Inherited from ActionContainerViewItem.
ObjectType Specifies the type of object for which the current View Item’s View is created. Inherited from ViewItem.
ObjectTypeInfo Provides access to the information on the type of the object which is represented by the current View Item’s View. Inherited from ViewItem.
View Specifies the Detail View that contains the current View Item. Inherited from ViewItem.

Methods

Name Description
BeginUpdate() Prevents the View Item’s Action Container control from being updated until the WebActionContainerViewItem.EndUpdate method is called.
BreakLinksToControl(Boolean) Unsubscribes from the control’s events and, depending on the parameter, also disposes of the control and removes the link to the control.
Clear() Clears the WebActionContainerViewItem‘s Action Container.
ClearActions()
CreateControl() Creates a control that represents the current View Item in a UI. Inherited from ViewItem.
Dispose() Releases all resources used by this ViewItem object. Inherited from ViewItem.
EndUpdate() Unlocks the View Item’s Action Container control after a call to the WebActionContainerViewItem.BeginUpdate method and causes an immediate update.
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.
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 current View Item. Inherited from ViewItem.
Refresh(Boolean) Refreshes the current View Item. Optionally, refreshes the View Item’s data source. Inherited from ViewItem.
RefreshDataSource() Refreshes the data source of the current ViewItem. Inherited from ViewItem.
Register(ActionBase) Adds a specified Action to a Web Action Container View Item’s ActionContainerViewItem.Actions collection and creates its control.
SaveModel() Saves the required information on the current state of the View Item to the Application Model. Inherited from ViewItem.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
ControlCreated Occurs after a control has been created for the current View Item. Inherited from ViewItem.
ControlCreating Occurs before a control is created for the current View Item. Inherited from ViewItem.
CurrentObjectChanged Occurs after changing the object (not an object’s property value) for which the current View Item’s View is created. Inherited from ViewItem.
CurrentObjectChanging Occurs before changing the object for which the current View Item’s View is created. Inherited from ViewItem.
VisibilityChanged This event is intended for internal use. Inherited from ActionContainerViewItem.
See Also