EnvironmentBase.IsInDesignMode Property
Gets a value indicating whether the control is in design mode
(running in Blend or Visual Studio).
Public ReadOnly Shared Property IsInDesignMode() As Boolean
This language is not supported or no code example is available.
public static bool IsInDesignMode {get;}
This language is not supported or no code example is available.
Property Value
bool
.NET Framework
Supported in: 4.5, 4.6, 4.7