This documentation is archived and is not being maintained.

ReadWriteControlDesigner.MapPropertyToStyle Method

Maps a property, including description and value, to an intrinsic HTML style.

Namespace: System.Web.UI.Design
Assembly: System.Design (in

protected virtual void MapPropertyToStyle (
	string propName,
	Object varPropValue
protected void MapPropertyToStyle (
	String propName, 
	Object varPropValue
protected function MapPropertyToStyle (
	propName : String, 
	varPropValue : Object
Not applicable.



The name of the property to map.


The value of the property.


The MapPropertyToStyle method is obsolete. Use the ContainerControlDesigner.GetDesignTimeCssAttributes method for equivalent control designer functionality.


this method must be overridden in a derived class to implement the designer.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0