Click or drag to resize
weroSoft AG, Software
WindowHelper Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Provides functionality for creating windows which are configured according best practice recommendations.
Inheritance Hierarchy
SystemObject
  WeroSoft.Triton.DesktopWindowHelper

Namespace:  WeroSoft.Triton.Desktop
Assembly:  WeroSoft.Triton.Desktop.Library (in WeroSoft.Triton.Desktop.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static class WindowHelper

The WindowHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckResultToValidationEventArgs
Add the CheckResult items to DialogValidationEventArgs.
Public methodStatic memberCloseModalDialog
Closes the currently top level modal dialog.
Public methodStatic memberCloseNonModalDialog(Guid)
Closes all open dialog of a plugin.
Public methodStatic memberCloseNonModalDialog(NonModalDialogInfo)
Closes a non modal dialog if the view model is not modified.
Public methodStatic memberCreateModalDialog(ModalDialogInfo)
Creates a modal dialog window and sets the most important items to recommended defaults.
Public methodStatic memberCreateModalDialog(String, UserControl)
Creates a modal dialog window and sets the most important items to recommended defaults.
Public methodStatic memberCreateModalSelectDialog
Creates a modal dialog window and sets the most important items to recommended defaults.
Public methodStatic memberGetDialogMessageArea
Gets the dialog message area.
Public methodStatic memberGetDialogMessageArea(DialogWindowBase)
Gets the message area of the dialog.
Public methodStatic memberGetNonModalDialogMessageArea(NonModalDialogInfo)
Gets the message area of the non modal dialog.
Public methodStatic memberGetNonModalDialogMessageArea(Object)
Gets the message area of the non modal dialog.
Public methodStatic memberGetPropertyT
Extracts the user control from the dialog info object.
Public methodStatic memberGetViewModelT
Extracts the view model from the dialog info object.
Public methodStatic memberSaveNonModalDialog
Click Save a non modal dialog.
Public methodStatic memberShowModalDialog(ModalDialogInfo)
Creates and shows a modal dialog and returns the result of the ending button.
Public methodStatic memberShowModalDialog(ModalSelectDialogInfo)
Creates and shows a modal select dialog and returns the result of the ending button.
Public methodStatic memberShowModalDialog(String, UserControl)
Creates and shows a modal dialog and returns the result of the ending button.
Public methodStatic memberShowModalDialog(String, UserControl, Window, WindowStyle, String, String)
Creates and shows a modal dialog and returns the result of the ending button.
Public methodStatic memberShowNonModalDialog
Shows a non modal dialog.
Top
See Also