Gets an object that is used to persist data for the associated control at design time.
Protected ReadOnly Property DesignerState As ControlDesignerState
Dim value As ControlDesignerState value = Me.DesignerState
protected ControlDesignerState DesignerState { get; }
protected: property ControlDesignerState^ DesignerState { ControlDesignerState^ get (); }
protected function get DesignerState () : ControlDesignerState
The values for the DesignerState property are persisted even if the user switches from Design to Source view, or reloads the document, or closes and reopens the design host.
You can get and set values in the returned object as you would in an IDictionary object, with the values automatically persisted.
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