.NET Framework Class Library
Control.GetDesignModeState Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets design-time data for a control.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic (Declaration)
<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted := True)> _ Protected Overridable Function GetDesignModeState As IDictionary
Visual Basic (Usage)
Dim returnValue As IDictionary returnValue = Me.GetDesignModeState()
C#
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)] protected virtual IDictionary GetDesignModeState()
Visual C++
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)] protected: virtual IDictionary^ GetDesignModeState()
JScript
protected function GetDesignModeState() : IDictionary
Return Value
Type: System.Collections.IDictionaryAn IDictionary containing the design-time data for the control.
Remarks
The GetDesignModeState method returns design-time data for a control.
Notes to Inheritors:
The GetDesignModeState method returns null by default. You must override this method to provide the design-time data your control requires.
.NET Framework Security
-
SecurityPermission
for operating in a hosted environment. Demand value: Demand; Permission value: Unrestricted.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.5, 3.0, 2.0See Also