RazorCodeGenerator.DesignTimeMode Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value indicating whether the code generator is in design-time mode.
public bool DesignTimeMode { get; set; }member this.DesignTimeMode : bool with get, setPublic Property DesignTimeMode As BooleanProperty Value
true if the code generator is in design-time mode; otherwise, false.