Converts from a System.Web.UI.WebControls.Unit object to an object of another data type and from another type to a System.Web.UI.WebControls.Unit object.
See Also: UnitConverter Members
Use the System.Web.UI.WebControls.UnitConverter class to convert a System.Web.UI.WebControls.Unit to an object of another data type. You can also use the System.Web.UI.WebControls.UnitConverter class to convert an object of another data type to a System.Web.UI.WebControls.Unit.
This converter can convert only a string to System.Web.UI.WebControls.Unit and a System.Web.UI.WebControls.Unit to a string.
You should never access a type converter directly. Instead, call the appropriate converter by using System.ComponentModel.TypeDescriptor. For more information, see the examples in the System.ComponentModel.TypeConverter base class.