FontUnit.IsEmpty 属性
定义
获取一个值,该值指示是否已设置了字体大小。Gets a value that indicates whether the font size has been set.
public:
property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean
属性值
如果尚未设置字体大小,则为 true;否则为 false。true if the font size has not been set; otherwise, false.
注解
使用 IsEmpty 属性可确定是否已设置字号。Use the IsEmpty property to determine whether the font size has been set.