ערוך

שתף באמצעות


Unit.Type Property

Definition

Gets the unit type of the Unit.

public:
 property System::Web::UI::WebControls::UnitType Type { System::Web::UI::WebControls::UnitType get(); };
public System.Web.UI.WebControls.UnitType Type { get; }
member this.Type : System.Web.UI.WebControls.UnitType
Public ReadOnly Property Type As UnitType

Property Value

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

Remarks

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.

Note

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

Applies to

See also