WinWindow Members
A Window used in Windows Forms applications.Constructors
Name | Description |
---|---|
WinWindow(XafApplication, TemplateContext, ICollection<Controller>, Boolean, Boolean) | Creates an instance of the WinWindow 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. |
Form | Provides access to the form that is the current WinWindow in a UI. |
IsClosing | Indicates whether the WinWindow is currently being closed. |
IsMain | Indicates whether a Window is main. Inherited from Window. |
IsViewControllersActivation | Indicates whether Controllers are currently being activated. Inherited from Frame. |
LastActiveExplorer static | Provides access to the last active explorer WinWindow‘s WinWindow.Form. |
Tag | Provides access to the object that contains data about the Frame. Inherited from Frame. |
Template | Returns a Window’s Template. Inherited from Window. |
View | Provides access to a Frame‘s View. Inherited from Frame. |
Methods
Name | Description |
---|---|
ActivateControllers() | Activates Controllers for the current Window. Inherited from Window. |
CanClose() | Determines whether the WinWindow can be closed. |
Close() | Closes a Window. Inherited from Window. |
Close(Boolean) | Closes the WinWindow‘s WinWindow.Form. |
CreateTemplate() | For internal use only. Inherited from Frame. |
Dispose() | Releases all resources used by this Frame object. Inherited from Frame. |
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. |
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 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. 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, 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, Boolean, Frame) | Sets a specified View for the current Frame. Inherited from Frame. |
SetView(View) | Sets a specified View for the current Frame. Inherited from Frame. |
Show() | Displays and focuses the WinWindow‘s WinWindow.Form. |
ShowDialog() | Shows the WinWindow‘s WinWindow.Form as a modal dialog box with the currently active window set as its owner. |
ShowDialog(IWin32Window) | For internal use. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
Name | Description |
---|---|
Closed | Occurs when the WinWindow‘s WinWindow.Form is closed. |
Closing | Occurs when the WinWindow‘s WinWindow.Form is about to be closed. |
CustomHandleExceptionOnClosing | Occurs when an exception is triggered while the WinWindow is being closed. |
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. |
KeyDown | Occurs when a key is pressed while the WinWindow‘s WinWindow.Form has focus. |
KeyUp | Occurs when a key is released while the WinWindow‘s WinWindow.Form has focus. |
ProcessActionContainer | Occurs when the Action Containers displayed in the current Frame are changed. Inherited from Frame. |
QueryDefaultFormIcon static | Occurs before assigning default icons to the WinWindow‘s Template. |
Showing | |
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