.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Frame Members

Serves as the site for a nested View.

Constructors

Name Description
Frame(XafApplication, TemplateContext, Controller[]) Creates an instance of the Frame class.
Frame(XafApplication, TemplateContext, ICollection<Controller>) Creates an instance of the Frame class.

Properties

Name Description
Application Provides access to an XafApplication object that can be used to manage the current application.
Context Returns a Frame's context.
Controllers Provides access to the Controller collection.
IsViewControllersActivation Indicates whether Controllers are currently being activated.
Tag Provides access to the object that contains data about the Frame.
Template Provides access to a Frame's Template.
View Provides access to a Frame's View.

Methods

Name Description
CreateTemplate() For internal use only.
Dispose() Releases all resources used by this Frame object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetController<ControllerType>() Returns a specified Controller from the current Frame's Frame.Controllers collection.
GetControllers(Type) For internal use.
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.
RegisterController(Controller) Registers a specified Controller within a Frame's Frame.Controllers collection.
SaveModel() Writes information on a Frame's View and Template to the Application Model.
SetControllersActive(String, Boolean) Activates or deactivates the current Frame's Controllers for a specified reason.
SetTemplate(IFrameTemplate) Sets a specified Template for the current Frame.
SetView(View) Sets a specified View for the current Frame.
SetView(View, Frame) Sets a specified View for the current Frame.
SetView(View, Boolean, Frame) Sets a specified View for the current Frame.
SetView(View, Boolean, Frame, Boolean) Sets a specified View for the current Frame.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Disposed Occures after the current Frame has been disposed of.
Disposing Occurs when the current Frame is disposed of.
ProcessActionContainer Occurs when the Action Containers displayed in the current Frame are changed.
TemplateChanged Occurs after setting a Template for a Frame.
TemplateChanging Occurs before a Template is set for a Frame.
TemplateModelSaving Occurs before synchronizing information on a Frame's Template.
TemplateViewChanged Occurs after a template is changed and a View is set for it.
ViewChanged Occurs after setting a View for a Frame.
ViewChanging Occurs before setting a View for a Frame.
ViewControllersActivated Occurs after Controllers have been activated for the current Frame.
ViewModelSaving Occurs before synchronizing information on a Frame's View.
See Also