DesignTimeHelpers.IsRunningInApplicationRuntimeMode 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.
Gets a value indicating whether app is not running in the Designer
public static bool IsRunningInApplicationRuntimeMode { get; }
static member IsRunningInApplicationRuntimeMode : bool
Public Shared ReadOnly Property IsRunningInApplicationRuntimeMode As Boolean