This documentation is archived and is not being maintained.
Unit.Type Property
.NET Framework 1.1
Gets the unit type of the Unit.
[Visual Basic] Public ReadOnly Property Type As UnitType [C#] public UnitType Type {get;} [C++] public: __property UnitType get_Type(); [JScript] public function get Type() : UnitType;
Property Value
One of the UnitType enumeration values. The default is Pixel.
Remarks
Use the Type property determine the unit of measurement that the Unit represents, such as pixel. The Type property is represented by one of the UnitType enumeration values.
Note If IsEmpty property is set to true, the UnitType.Pixel enumeration value is returned.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
Unit Structure | Unit Members | System.Web.UI.WebControls Namespace | UnitType | Value
Show: