Window Members

Serves as the base class for Windows.

Constructors

Name Description
Window(XafApplication, TemplateContext, ICollection<Controller>, Boolean, Boolean)

Creates an instance of the Window class.

Properties

Name Description
Application

Provides access to an XafApplication object that can be used to manage the current application.

(Inherited from Frame)
Context

Returns a Frame's context.

(Inherited from Frame)
Controllers

Provides access to the Controller collection.

(Inherited from Frame)
IsMain

Indicates whether a Window is main.

IsViewControllersActivation

Indicates whether Controllers are currently being activated.

(Inherited from Frame)
Tag

Provides access to the object that contains data about the Frame.

(Inherited from Frame)
Template

Returns a Window's Template.

View

Provides access to a Frame's View.

(Inherited from Frame)

Methods

Name Description
ActivateControllers()

Activates Controllers for the current Window.

Close()

Closes a Window.

Close(Boolean)

Closes the Window and optionally refreshes its parent Window.

CreateTemplate()

For internal use only.

(Inherited from Frame)
Dispose()

Releases all resources used by this Frame object.

(Inherited from Frame)
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) 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.

(Inherited from Frame)
GetControllers(Type)

For internal use.

(Inherited from Frame)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current .
(Inherited from Object)
ReferenceEquals(Object, Object) Determines whether the specified instances are the same instance.
(Inherited from Object)
RegisterController(Controller)

Registers a specified Controller within a Frame's Frame.Controllers collection.

(Inherited from Frame)
SaveModel()

Writes information on a Frame's View and Template to the Application Model.

(Inherited from Frame)
SetControllersActive(String, Boolean)

Activates or deactivates the current Frame's Controllers for a specified reason.

(Inherited from Frame)
SetTemplate(IFrameTemplate)

Sets a specified Template for the current Frame.

(Inherited from Frame)
SetView(View)

Sets a specified View for the current Frame.

(Inherited from Frame)
SetView(View, Boolean, Frame)

Sets a specified View for the current Frame.

(Inherited from Frame)
SetView(View, Boolean, Frame, Boolean)

Sets a specified View for the current Frame.

(Inherited from Frame)
SetView(View, Frame)

Sets a specified View for the current Frame.

(Inherited from 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.

(Inherited from Frame)
Disposing

Occurs when the current Frame is disposed of.

(Inherited from Frame)
ProcessActionContainer

Occurs when the Action Containers displayed in the current Frame are changed.

(Inherited from Frame)
TemplateChanged

Occurs after setting a Template for a Frame.

(Inherited from Frame)
TemplateChanging

Occurs before a Template is set for a Frame.

(Inherited from Frame)
TemplateModelSaving

Occurs before synchronizing information on a Frame's Template.

(Inherited from Frame)
TemplateViewChanged

Occurs after a template is changed and a View is set for it.

(Inherited from Frame)
ViewChanged

Occurs after setting a View for a Frame.

(Inherited from Frame)
ViewChanging

Occurs before setting a View for a Frame.

(Inherited from Frame)
ViewControllersActivated

Occurs after Controllers have been activated for the current Frame.

(Inherited from Frame)
ViewModelSaving

Occurs before synchronizing information on a Frame's View.

(Inherited from Frame)
See Also