GetDesignModeState Method
.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.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)
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..::.IDictionary
An IDictionary containing the design-time data for the control.

The GetDesignModeState method returns design-time data for a control.

Notes to Inheritors:

The GetDesignModeState method returns nullNothingnullptra null reference (Nothing in Visual Basic) by default. You must override this method to provide the design-time data your control requires.

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker