Metodo UtilityIsDesignerHosted
|
The DesignMode property does not correctly tell you if
you are in design mode. IsDesignerHosted is a corrected
version of that property.
(see https://connect.microsoft.com/VisualStudio/feedback/details/553305
and http://stackoverflow.com/a/2693338/238419 )
Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 26.4.0.0 (26.4.0.0)
Sintassi public static bool IsDesignerHosted(
Control ctr
)
Public Shared Function IsDesignerHosted (
ctr As Control
) As Boolean
public:
static bool IsDesignerHosted(
Control^ ctr
)
static member IsDesignerHosted :
ctr : Control -> bool
Parametri
- ctr Control
-
Valore di ritorno
BooleanVedi anche