Click or drag to resize

IGuiFactoryService Methods

The IGuiFactoryService type exposes the following members.

Methods
 NameDescription
Public methodErrorMessageBox(String) Shows a message box with the error text.
Public methodErrorMessageBox(String, String) Shows a message box with the error text.
Public methodExecuteAsUserCancellable Executes an action that can be cancelled by the user.
Public methodFindAndAttachControlTo(IMVCController) Finds and attaches a suitable control to the specified controller.
Public methodFindAndAttachControlTo(IMVCController, Type) Finds and attaches a suitable control of the expected type to the specified controller.
Public methodGetController(Object, Type) Gets a controller for the specified arguments.
Public methodGetController(Object, Type, UseDocument) Gets a controller for the specified arguments and document usage mode.
Public methodGetController(Object, Type, Type, UseDocument) Gets a controller for the specified arguments while overriding the type of the first argument.
Public methodGetControllerAndControl(Object, Type) Gets a controller together with an attached control for the specified arguments.
Public methodGetControllerAndControl(Object, Type, UseDocument) Gets a controller together with an attached control for the specified arguments and document usage mode.
Public methodGetControllerAndControl(Object, Type, Type, UseDocument) Gets a controller together with an attached control while overriding the type of the first argument.
Public methodGetNewClipboardDataObject Gets a new clipboard data object. You can use this to put data on the clipboard.
Public methodGetRequiredControllerAndControlT Gets the required controller and control. Throws an exception if either controller or control could not be retrieved.
Public methodGetScreenInformation Retrieves information about a screen area.
Public methodGetUserFriendlyClassName(Type) Gets a user-friendly class name for the specified type.
Public methodGetUserFriendlyClassName(Type, Boolean) Gets user-friendly class names for the specified types.
Public methodGetUserFriendlyName Gets a user-friendly name for the specified enumeration value.
Public methodInfoMessageBox(String) Shows an information message box.
Public methodInfoMessageBox(String, String) Shows an information message box with the specified title.
Public methodInvalidateRequerySuggested Invalidates command requery suggestions.
Public methodNewRelayCommand(Action, FuncBoolean) Gets a command that executes an action and evaluates the canExecute condition every time when something in the GUI has changed.
Public methodNewRelayCommand(ActionObject, PredicateObject) Gets a command that executes an action and evaluates the canExecute condition every time when something in the GUI has changed.
Public methodOpenClipboardDataObject Opens the clipboard data object. You can use this to see which data are on the clipboard.
Public methodRegisterRequerySuggestedHandler Registers a handler that will be called back if something in the Gui has changed so that a requery of `CanExecute()` functions might be necessary. This handler will be bound weakly to the event. Unregister by using UnregisterRequerySuggestedHandler(EventHandler).
Public methodSetClipboardDataObject(IClipboardSetDataObject) Sets the data stored in the dataObject on the clipboard for temporary usage.
Public methodSetClipboardDataObject(IClipboardSetDataObject, Boolean) Sets the data stored in the dataObject on the clipboard for temporary or permanent usage.
Public methodShowBackgroundCancelDialog(Int32, Thread, IExternalDrivenBackgroundMonitor) Shows a cancel dialog for an already created background thread.
Public methodShowBackgroundCancelDialog(Int32, ThreadStart, IExternalDrivenBackgroundMonitor) Shows a cancel dialog for a background thread that is started by the service.
Public methodShowContextMenu Creates and shows a context menu.
Public methodShowDialog(Enum, String) Shows a dialog for selecting an enumeration value.
Public methodShowDialog(IMVCAController, String) Shows a dialog for the specified controller.
Public methodShowDialog(Object, String) Shows a configuration dialog for an object.
Public methodShowDialog(Object, String) Shows a dialog for the specified arguments.
Public methodShowDialog(IMVCAController, String, Boolean) Shows a dialog for the specified controller and controls whether the Apply button is visible.
Public methodShowDialog(Object, String, Boolean) Shows a dialog for the specified arguments and controls whether the Apply button is visible.
Public methodShowDialogT(T, String, Boolean) Shows a configuration dialog for any item.
Public methodShowDialogForEnumFlag Shows a dialog for editing enumeration flags.
Public methodShowFolderDialog Shows a folder-selection dialog.
Public methodShowOpenFileDialog Shows an open-file dialog.
Public methodShowSaveFileDialog Shows a save-file dialog.
Public methodShowTaskCancelDialog Shows a cancel dialog for a task.
Public methodUnregisterRequerySuggestedHandler Unregisters the handler that was registered with RegisterRequerySuggestedHandler(EventHandler).
Public methodYesNoCancelMessageBox Shows a message box with a question to be answered either by YES, NO, or CANCEL.
Public methodYesNoMessageBox Shows a yes/no message box.
Top
See Also