Unit.Type Property

 

Gets the unit type of the Unit.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public UnitType Type { get; }

Property Value

Type: System.Web.UI.WebControls.UnitType

One of the UnitType enumeration values. The default is Pixel.

Use the Type property to determine the unit of measurement that the Unit represents, such as pixels. The Type property is represented by one of the UnitType enumeration values.

System_CAPS_noteNote

If IsEmpty property is set to true, the Point enumeration value is returned.

.NET Framework
Available since 1.1
Return to top
Show: