Click or drag to resize

IGuiFactoryService Interface

[Missing <summary> documentation for "T:Altaxo.Main.Services.IGuiFactoryService"]


Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IGuiFactoryService

The IGuiFactoryService type exposes the following members.

Properties
 NameDescription
Public propertyMainWindowHandle Gets the window handle of the main window;
Public propertyMainWindowObject Gets the main window as object. Depending on the Gui technology that is used, this is either a Wpf window, or something else.
Public propertyScreenResolutionDpiGets the screen resolution that is set in windows in dots per inch.
Top
Methods
 NameDescription
Public methodErrorMessageBox(String) 
Public methodErrorMessageBox(String, String) Shows a message box with the error text.
Public methodExecuteAsUserCancellable 
Public methodFindAndAttachControlTo(IMVCController) 
Public methodFindAndAttachControlTo(IMVCController, Type) 
Public methodGetController(Object, Type) 
Public methodGetController(Object, Type, UseDocument) 
Public methodGetController(Object, Type, Type, UseDocument) 
Public methodGetControllerAndControl(Object, Type) 
Public methodGetControllerAndControl(Object, Type, UseDocument) 
Public methodGetControllerAndControl(Object, Type, Type, UseDocument) 
Public methodGetNewClipboardDataObject Get 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) 
Public methodGetUserFriendlyClassName(Type, Boolean) 
Public methodGetUserFriendlyName 
Public methodInfoMessageBox(String) 
Public methodInfoMessageBox(String, String) 
Public methodInvalidateRequerySuggested 
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 neccessary. This handler will be bound weak 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) 
Public methodShowBackgroundCancelDialog(Int32, ThreadStart, IExternalDrivenBackgroundMonitor) 
Public methodShowContextMenu Creates and shows a context menu.
Public methodShowDialog(Enum, String) 
Public methodShowDialog(IMVCAController, String) 
Public methodShowDialog(Object, String) Shows a configuration dialog for an object.
Public methodShowDialog(Object, String) 
Public methodShowDialog(IMVCAController, String, Boolean) 
Public methodShowDialog(Object, String, Boolean) 
Public methodShowDialogT(T, String, Boolean) Shows a configuration dialog for any item.
Public methodShowDialogForEnumFlag 
Public methodShowFolderDialog 
Public methodShowOpenFileDialog 
Public methodShowSaveFileDialog 
Public methodShowTaskCancelDialog 
Public methodUnregisterRequerySuggestedHandler Unregisters the handler that was registered with RegisterRequerySuggestedHandler(EventHandler).
Public methodYesNoCancelMessageBox Shows a message box with a questtion to be answered either by YES, NO, or CANCEL.
Public methodYesNoMessageBox 
Top
See Also