System.Web.UI.Design.ReadWriteControlDesigner.MapPropertyToStyle Method

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

Syntax

protected virtual void MapPropertyToStyle (string propName, object varPropValue)

Parameters

propName
The name of the property to map.
varPropValue
The value of the property.

Remarks

Note:

The ReadWriteControlDesigner.MapPropertyToStyle(string, object) method is obsolete. Use the ContainerControlDesigner.GetDesignTimeCssAttributes method for equivalent control designer functionality.

Note:

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

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0