| XAMLHelperGetIsInDesignMode Method |
Determines whether the
DependencyObject is in design mode or not.
ATTENTION: This is only a wrapper for the DesignerProperties.GetIsInDesignMode(DependencyObject) method (WPF) and the DesignMode.DesignModeEnabled method (UWP).
Namespace:
Cauldron.XAML
Assembly:
Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax Parameters
- dependencyObject
- Type: System.WindowsDependencyObject
The element from which the property value is read. In UWP this is ignored and can be null.
Return Value
Type:
Booleantrue if the process is running in design mode; otherwise false.
Exceptions See Also