Unit.Type 属性
定义
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
属性值
UnitType 枚举值之一。One of the UnitType enumeration values. 默认值为 Pixel。The default is Pixel.
注解
使用 Type 属性可以确定表示的度量单位 Unit ,如像素。Use the Type property to determine the unit of measurement that the Unit represents, such as pixels. Type属性由 UnitType 枚举值之一表示。The Type property is represented by one of the UnitType enumeration values.
备注
如果 IsEmpty 将属性设置为 true ,则 Point 返回枚举值。If IsEmpty property is set to true, the Point enumeration value is returned.