ATMLCommonLibrary.controls.Extensions.IsInDesignMode C# (CSharp) Method

IsInDesignMode() public static method

Extension method to return if the control is in design mode
public static IsInDesignMode ( this control ) : bool
control this Control to examine
return bool
        public static bool IsInDesignMode(this System.Windows.Forms.Control control)
        {
            return ResolveDesignMode(control) || (LicenseManager.UsageMode == LicenseUsageMode.Designtime);
        }