Interface IPlatformModeDetector
- Namespace
- Splat
- Assembly
- Splat.Drawing.dll
Provides a mechanism for determining whether the current process is running within a graphical user interface (GUI) design environment.
public interface IPlatformModeDetector
- Extension Methods
Remarks
Implementations of this interface can be used to adapt application behavior when running in design mode, such as within a visual designer or IDE. This is useful for components or controls that need to distinguish between design-time and run-time execution.
Methods
InDesignMode()
Gets a value indicating whether the current library or application is running in a GUI design mode tool.
bool? InDesignMode()
Returns
- bool?
If we are currently running in design mode.