![]() | XAMLHelper.GetIsInDesignMode Method |
ATTENTION: This is only a wrapper for the DesignerProperties.GetIsInDesignMode(DependencyObject) method (WPF) and the DesignMode.DesignModeEnabled method (UWP).
Namespace: Cauldron.XAML
public static bool GetIsInDesignMode( DependencyObject dependencyObject )
Exception | Condition |
---|---|
InvalidOperationException | dependencyObject is null. |